Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
methods
/
issue-7950.rs
blob: d3dcb3380bbccbf89baa5f640e1cf2a75ee572c7 [
file
] [
log
] [
blame
] [
edit
]
// 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`
}