Sign in
fuchsia
/
third_party
/
rust
/
830bd8b6f4feb8665c8865beb20ffb424e8d8ee6
/
.
/
tests
/
ui
/
shadow-bool.rs
blob: 8cba2c1710b44dc4f81e5d3bec814f29fc0a75c5 [
file
]
//@ 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
()
{}