fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0433]: failed to resolve: could not find `baf` in `foo` 2 --> $DIR/112590-2.rs:12:39 3 | 4LL | let _: Vec<i32> = super::foo::baf::baz::MyVec::new(); 5 | ^^^ could not find `baf` in `foo` 6 | 7help: consider importing this struct through its public re-export 8 | 9LL + use foo::bar::baz::MyVec; 10 | 11help: if you import `MyVec`, refer to it directly 12 | 13LL - let _: Vec<i32> = super::foo::baf::baz::MyVec::new(); 14LL + let _: Vec<i32> = MyVec::new(); 15 | 16 17error[E0433]: failed to resolve: use of undeclared crate or module `fox` 18 --> $DIR/112590-2.rs:18:27 19 | 20LL | let _: Vec<i32> = fox::bar::baz::MyVec::new(); 21 | ^^^ use of undeclared crate or module `fox` 22 | 23help: consider importing this struct through its public re-export 24 | 25LL + use foo::bar::baz::MyVec; 26 | 27help: if you import `MyVec`, refer to it directly 28 | 29LL - let _: Vec<i32> = fox::bar::baz::MyVec::new(); 30LL + let _: Vec<i32> = MyVec::new(); 31 | 32 33error[E0433]: failed to resolve: use of undeclared crate or module `vec` 34 --> $DIR/112590-2.rs:24:15 35 | 36LL | type _B = vec::Vec::<u8>; 37 | ^^^ use of undeclared crate or module `vec` 38 | 39help: consider importing this module 40 | 41LL + use std::vec; 42 | 43 44error[E0433]: failed to resolve: could not find `sync_error` in `std` 45 --> $DIR/112590-2.rs:25:19 46 | 47LL | let _t = std::sync_error::atomic::AtomicBool::new(true); 48 | ^^^^^^^^^^ could not find `sync_error` in `std` 49 | 50help: consider importing this struct 51 | 52LL + use std::sync::atomic::AtomicBool; 53 | 54help: if you import `AtomicBool`, refer to it directly 55 | 56LL - let _t = std::sync_error::atomic::AtomicBool::new(true); 57LL + let _t = AtomicBool::new(true); 58 | 59 60error[E0433]: failed to resolve: use of undeclared crate or module `vec` 61 --> $DIR/112590-2.rs:23:24 62 | 63LL | let _t: Vec<i32> = vec::new(); 64 | ^^^ 65 | | 66 | use of undeclared crate or module `vec` 67 | help: a struct with a similar name exists (notice the capitalization): `Vec` 68 69error: aborting due to 5 previous errors 70 71For more information about this error, try `rustc --explain E0433`.