mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
18 lines
414 B
Rust
18 lines
414 B
Rust
// edition:2018
|
|
|
|
use st::cell::Cell; //~ ERROR failed to resolve: use of undeclared crate or module `st`
|
|
|
|
mod bar {
|
|
pub fn bar() { bar::baz(); } //~ ERROR failed to resolve: use of undeclared crate or module `bar`
|
|
|
|
fn baz() {}
|
|
}
|
|
|
|
use bas::bar; //~ ERROR unresolved import `bas`
|
|
|
|
struct Foo {
|
|
bar: st::cell::Cell<bool> //~ ERROR failed to resolve: use of undeclared crate or module `st`
|
|
}
|
|
|
|
fn main() {}
|