mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: unknown lint: `nonex_lint_top_level`
 | 
						|
  --> $DIR/issue-97094.rs:5:26
 | 
						|
   |
 | 
						|
LL | #![cfg_attr(all(), allow(nonex_lint_top_level))]
 | 
						|
   |                          ^^^^^^^^^^^^^^^^^^^^
 | 
						|
   |
 | 
						|
note: the lint level is defined here
 | 
						|
  --> $DIR/issue-97094.rs:1:9
 | 
						|
   |
 | 
						|
LL | #![deny(warnings)]
 | 
						|
   |         ^^^^^^^^
 | 
						|
   = note: `#[deny(unknown_lints)]` implied by `#[deny(warnings)]`
 | 
						|
 | 
						|
error: lint `bare_trait_object` has been renamed to `bare_trait_objects`
 | 
						|
  --> $DIR/issue-97094.rs:7:26
 | 
						|
   |
 | 
						|
LL | #![cfg_attr(all(), allow(bare_trait_object))]
 | 
						|
   |                          ^^^^^^^^^^^^^^^^^ help: use the new name: `bare_trait_objects`
 | 
						|
   |
 | 
						|
   = note: `#[deny(renamed_and_removed_lints)]` implied by `#[deny(warnings)]`
 | 
						|
 | 
						|
error: unknown lint: `nonex_lint_mod`
 | 
						|
  --> $DIR/issue-97094.rs:10:25
 | 
						|
   |
 | 
						|
LL | #[cfg_attr(all(), allow(nonex_lint_mod))]
 | 
						|
   |                         ^^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: unknown lint: `nonex_lint_mod_inner`
 | 
						|
  --> $DIR/issue-97094.rs:13:30
 | 
						|
   |
 | 
						|
LL |     #![cfg_attr(all(), allow(nonex_lint_mod_inner))]
 | 
						|
   |                              ^^^^^^^^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: unknown lint: `nonex_lint_fn`
 | 
						|
  --> $DIR/issue-97094.rs:17:25
 | 
						|
   |
 | 
						|
LL | #[cfg_attr(all(), allow(nonex_lint_fn))]
 | 
						|
   |                         ^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: unknown lint: `nonex_lint_in_macro`
 | 
						|
  --> $DIR/issue-97094.rs:28:29
 | 
						|
   |
 | 
						|
LL |     #[cfg_attr(all(), allow(nonex_lint_in_macro))]
 | 
						|
   |                             ^^^^^^^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: unknown lint: `nonex_lint_fn`
 | 
						|
  --> $DIR/issue-97094.rs:47:13
 | 
						|
   |
 | 
						|
LL |     #[allow(nonex_lint_fn)]
 | 
						|
   |             ^^^^^^^^^^^^^
 | 
						|
 | 
						|
error: aborting due to 7 previous errors
 | 
						|
 |