mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			536 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			536 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![deny(rustdoc::invalid_codeblock_attributes)]
 | |
| 
 | |
| /// foo
 | |
| //~^ ERROR
 | |
| //~^^ ERROR
 | |
| //~^^^ ERROR
 | |
| ///
 | |
| /// ```compile-fail,compilefail,comPile_fail
 | |
| /// boo
 | |
| /// ```
 | |
| pub fn foo() {}
 | |
| 
 | |
| /// bar
 | |
| //~^ ERROR
 | |
| //~^^ ERROR
 | |
| //~^^^ ERROR
 | |
| ///
 | |
| /// ```should-panic,shouldpanic,sHould_panic
 | |
| /// boo
 | |
| /// ```
 | |
| pub fn bar() {}
 | |
| 
 | |
| /// foobar
 | |
| //~^ ERROR
 | |
| //~^^ ERROR
 | |
| //~^^^ ERROR
 | |
| ///
 | |
| /// ```no-run,norun,no_Run
 | |
| /// boo
 | |
| /// ```
 | |
| pub fn foobar() {}
 | |
| 
 | |
| /// b
 | |
| //~^ ERROR
 | |
| //~^^ ERROR
 | |
| //~^^^ ERROR
 | |
| ///
 | |
| /// ```test-harness,testharness,teSt_harness
 | |
| /// boo
 | |
| /// ```
 | |
| pub fn b() {}
 | 
