mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			199 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			199 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// run-pass
 | 
						|
// aux-build:tokyo.rs
 | 
						|
// compile-flags:--extern tokyo
 | 
						|
// edition:2021
 | 
						|
 | 
						|
use tokyo::main;
 | 
						|
 | 
						|
#[main]
 | 
						|
fn main() {
 | 
						|
    panic!("the #[main] macro should replace this with non-panicking code")
 | 
						|
}
 |