1 // ignore-tidy-linelength
3 // In this test baz isn't resolved when called as foo.baz even though
4 // it's called from inside foo. This is somewhat surprising and may
5 // want to change eventually.
8 pub fn bar() { foo::baz(); } //~ ERROR failed to resolve: use of undeclared crate or module `foo`