Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-17718-const-privacy.rs
blob: 6ab3a60df8742056438511f3a6e29ab3534d4219 [
file
] [
log
] [
blame
]
// aux-build:issue-17718-const-privacy.rs
extern
crate issue_17718_const_privacy
as
other
;
use
a
::
B
;
//~ ERROR: constant `B` is private
use
other
::{
FOO
,
BAR
,
//~ ERROR: constant `BAR` is private
FOO2
,
};
mod
a
{
const
B
:
usize
=
3
;
}
fn
main
()
{}