Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
methods
/
issue-7950.rs
blob: d3dcb3380bbccbf89baa5f640e1cf2a75ee572c7 [
file
]
// tests the good error message, not "missing module Foo" or something else unexpected
struct
Foo
;
fn
main
()
{
Foo
::
bar
();
//~^ ERROR no function or associated item named `bar` found for struct `Foo`
}