mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			236 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			236 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ compile-flags: --edition 2018
 | 
						|
 | 
						|
pub fn demo() -> Option<i32> {
 | 
						|
    do yeet //~ ERROR `do yeet` expression is experimental
 | 
						|
}
 | 
						|
 | 
						|
pub fn main() -> Result<(), String> {
 | 
						|
    do yeet "hello"; //~ ERROR `do yeet` expression is experimental
 | 
						|
}
 |