Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
shadow-bool.rs
blob: f290a329eaac298575d6981faa0ae3adbf694dcf [
file
] [
log
] [
blame
]
// check-pass
mod
bar
{
pub
trait
QueryId
{
const
SOME_PROPERTY
:
bool
;
}
}
use
bar
::
QueryId
;
#[
allow
(
non_camel_case_types
)]
pub
struct
bool
;
impl
QueryId
for
bool
{
const
SOME_PROPERTY
:
core
::
primitive
::
bool
=
true
;
}
fn
main
()
{}