mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 09:30:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			500 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			500 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![deny(uncommon_codepoints, unused_attributes)]
 | 
						|
 | 
						|
mod foo {
 | 
						|
#![allow(uncommon_codepoints)]
 | 
						|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
 | 
						|
 | 
						|
#[allow(uncommon_codepoints)]
 | 
						|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
 | 
						|
const BAR: f64 = 0.000001;
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
#[allow(uncommon_codepoints)]
 | 
						|
//~^ ERROR allow(uncommon_codepoints) is ignored unless specified at crate level [unused_attributes]
 | 
						|
fn main() {
 | 
						|
}
 |