]> git.lizzy.rs Git - rust.git/blob - tests/ui/shadow-bool.rs
Auto merge of #106975 - tmiasko:basic-blocks-cache, r=cjgillot
[rust.git] / tests / ui / shadow-bool.rs
1 // check-pass
2
3 mod bar {
4     pub trait QueryId {
5         const SOME_PROPERTY: bool;
6     }
7 }
8
9 use bar::QueryId;
10
11 #[allow(non_camel_case_types)]
12 pub struct bool;
13
14 impl QueryId for bool {
15     const SOME_PROPERTY: core::primitive::bool = true;
16 }
17
18 fn main() {}