]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7950.rs
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / test / ui / issues / issue-7950.rs
1 // tests the good error message, not "missing module Foo" or something else unexpected
2
3 struct Foo;
4
5 fn main() {
6     Foo::bar();
7     //~^ ERROR no function or associated item named `bar` found for struct `Foo`
8 }