Sign in
rust
/
rust
/
df2fe313d44bcc008331a0b01662cfdcaa0ecc90
/
.
/
tests
/
ui
/
methods
/
issue-7950.rs
blob: d87618a15ef362ac38f5f146efe13f3dac058751 [
file
]
// 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`
}