mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			403 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			403 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
error: unnecessary qualification
 | 
						|
  --> $DIR/lint-qualification.rs:11:5
 | 
						|
   |
 | 
						|
LL |     foo::bar();
 | 
						|
   |     ^^^^^^^^
 | 
						|
   |
 | 
						|
note: the lint level is defined here
 | 
						|
  --> $DIR/lint-qualification.rs:2:9
 | 
						|
   |
 | 
						|
LL | #![deny(unused_qualifications)]
 | 
						|
   |         ^^^^^^^^^^^^^^^^^^^^^
 | 
						|
help: remove the unnecessary path segments
 | 
						|
   |
 | 
						|
LL -     foo::bar();
 | 
						|
LL +     bar();
 | 
						|
   |
 | 
						|
 | 
						|
error: aborting due to 1 previous error
 | 
						|
 |