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