mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 09:30:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// 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() {}
 |