Sign in
rust
/
rust
/
d7e8f9fc7af4aa4cd65140afaebe48dd1e90e708
/
.
/
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`
}