mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			250 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			250 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#[rustc_diagnostic_item = "foomp"]
 | 
						|
//~^ ERROR use of an internal attribute [E0658]
 | 
						|
//~| NOTE the `#[rustc_diagnostic_item]` attribute allows the compiler to reference types from the standard library for diagnostic purposes
 | 
						|
struct Foomp;
 | 
						|
fn main() {}
 |