Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
methods
/
issue-7950.rs
blob: d87618a15ef362ac38f5f146efe13f3dac058751 [
file
] [
edit
]
// 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`
}