mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			345 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			345 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ edition: 2024
 | 
						|
//@ compile-flags:--test --test-args=--test-threads=1
 | 
						|
//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
 | 
						|
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
 | 
						|
//@ check-pass
 | 
						|
 | 
						|
/// ```ignore (test)
 | 
						|
/// let x = 12;
 | 
						|
/// ```
 | 
						|
pub fn ignored() {}
 | 
						|
 | 
						|
/// ```no_run
 | 
						|
/// panic!("blob");
 | 
						|
/// ```
 | 
						|
pub fn no_run() {}
 |