summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-33575.stderr
blob: bbd8042d1cd6b4eb7f23b8e4e130d76b74cae43f (plain)
1
2
3
4
5
6
7
8
9
error[E0599]: no method named `foo` found for unit type `()` in the current scope
  --> $DIR/issue-33575.rs:2:18
   |
LL |     let baz = ().foo();
   |                  ^^^ method not found in `()`

error: aborting due to previous error

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