mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 4b24c4bf23
			
		
	
	
		4b24c4bf23
		
	
	
	
	
		
			
			```
error[E0433]: failed to resolve: could not find `doesnt_exist` in `inner`
  --> $DIR/diagnostics-cross-crate.rs:18:23
   |
LL |     cfged_out::inner::doesnt_exist::hello();
   |                       ^^^^^^^^^^^^ could not find `doesnt_exist` in `inner`
   |
note: found an item that was configured out
  --> $DIR/auxiliary/cfged_out.rs:6:13
   |
LL |     #[cfg(false)]
   |           ----- the item is gated here
LL |     pub mod doesnt_exist {
   |             ^^^^^^^^^^^^
```
		
	
			
		
			
				
	
	
		
			113 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			113 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:2:11
 | |
|    |
 | |
| LL |     core::RustcDecodable,
 | |
|    |           ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:4:11
 | |
|    |
 | |
| LL |     core::RustcDecodable,
 | |
|    |           ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:2:11
 | |
|    |
 | |
| LL |     core::RustcDecodable,
 | |
|    |           ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `core`
 | |
|    |
 | |
|    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:4:11
 | |
|    |
 | |
| LL |     core::RustcDecodable,
 | |
|    |           ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `core`
 | |
|    |
 | |
|    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `bench` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:7:9
 | |
|    |
 | |
| LL | #[core::bench]
 | |
|    |         ^^^^^ could not find `bench` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `global_allocator` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:8:9
 | |
|    |
 | |
| LL | #[core::global_allocator]
 | |
|    |         ^^^^^^^^^^^^^^^^ could not find `global_allocator` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `test_case` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:9:9
 | |
|    |
 | |
| LL | #[core::test_case]
 | |
|    |         ^^^^^^^^^ could not find `test_case` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `test` in `core`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:10:9
 | |
|    |
 | |
| LL | #[core::test]
 | |
|    |         ^^^^ could not find `test` in `core`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:14:10
 | |
|    |
 | |
| LL |     std::RustcDecodable,
 | |
|    |          ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `std`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:16:10
 | |
|    |
 | |
| LL |     std::RustcDecodable,
 | |
|    |          ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `std`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:14:10
 | |
|    |
 | |
| LL |     std::RustcDecodable,
 | |
|    |          ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `std`
 | |
|    |
 | |
|    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `RustcDecodable` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:16:10
 | |
|    |
 | |
| LL |     std::RustcDecodable,
 | |
|    |          ^^^^^^^^^^^^^^ could not find `RustcDecodable` in `std`
 | |
|    |
 | |
|    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `bench` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:19:8
 | |
|    |
 | |
| LL | #[std::bench]
 | |
|    |        ^^^^^ could not find `bench` in `std`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `global_allocator` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:20:8
 | |
|    |
 | |
| LL | #[std::global_allocator]
 | |
|    |        ^^^^^^^^^^^^^^^^ could not find `global_allocator` in `std`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `test_case` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:21:8
 | |
|    |
 | |
| LL | #[std::test_case]
 | |
|    |        ^^^^^^^^^ could not find `test_case` in `std`
 | |
| 
 | |
| error[E0433]: failed to resolve: could not find `test` in `std`
 | |
|   --> $DIR/builtin-std-paths-fail.rs:22:8
 | |
|    |
 | |
| LL | #[std::test]
 | |
|    |        ^^^^ could not find `test` in `std`
 | |
|    |
 | |
| note: found an item that was configured out
 | |
|   --> $SRC_DIR/std/src/lib.rs:LL:COL
 | |
|    |
 | |
|    = note: the item is gated here
 | |
| 
 | |
| error: aborting due to 16 previous errors
 | |
| 
 | |
| For more information about this error, try `rustc --explain E0433`.
 |