2021-09-28 23:55:24 -05:00
|
|
|
// edition:2018
|
|
|
|
|
|
|
|
use st::cell::Cell; //~ ERROR failed to resolve: use of undeclared crate or module `st`
|
|
|
|
|
|
|
|
mod bar {
|
2023-11-16 00:07:33 -06:00
|
|
|
pub fn bar() { bar::baz(); } //~ ERROR failed to resolve: function `bar` is not a crate or module
|
2021-09-28 23:55:24 -05:00
|
|
|
|
|
|
|
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() {}
|