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