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 main()18 fn main() {} 19