]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-7950.rs
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / 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 }