]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7950.rs
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[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 type `Foo`
8 }