]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-7950.rs
New upstream version 1.49.0+dfsg1
[rustc.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 }