blob: d87618a15ef362ac38f5f146efe13f3dac058751 [file] [log] [blame]
// tests the good error message, not "missing module Foo" or something else unexpected
struct Foo;
fn main() {
Foo::bar();
//~^ ERROR no associated function or constant named `bar` found for struct `Foo`
}