mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			234 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			234 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ compile-flags:-C panic=abort
 | 
						|
 | 
						|
#![feature(lang_items)]
 | 
						|
#![feature(no_core)]
 | 
						|
#![no_core]
 | 
						|
#![no_main]
 | 
						|
 | 
						|
#[panic_handler]
 | 
						|
fn panic() -> ! {
 | 
						|
    //~^ ERROR requires `panic_info` lang_item
 | 
						|
    loop {}
 | 
						|
}
 | 
						|
 | 
						|
#[lang = "sized"]
 | 
						|
trait Sized {}
 |