mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			376 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			376 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: unknown `doc` attribute `include`
 | |
|   --> $DIR/doc-include-suggestion.rs:1:7
 | |
|    |
 | |
| LL | #[doc(include = "external-cross-doc.md")]
 | |
|    | ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- help: use `doc = include_str!` instead: `#[doc = include_str!("external-cross-doc.md")]`
 | |
|    |
 | |
|    = note: `#[deny(invalid_doc_attributes)]` on by default
 | |
| 
 | |
| error: aborting due to 1 previous error
 | |
| 
 | 
