summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7950.stderr
blob: b8b0eb310cf3eade796c62c76f444dc4fed2c73a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0599]: no function or associated item named `bar` found for struct `Foo` in the current scope
  --> $DIR/issue-7950.rs:6:10
   |
LL | struct Foo;
   | ---------- function or associated item `bar` not found for this struct
...
LL |     Foo::bar();
   |          ^^^ function or associated item not found in `Foo`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.