about summary refs log tree commit diff
path: root/tests/ui/methods/receiver-equality.stderr
blob: bf149cc2eb4d76b4fb8adc3b0a56cd0ff7b06b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0599]: no function or associated item named `method` found for struct `B<for<'a> fn(&'a ())>` in the current scope
  --> $DIR/receiver-equality.rs:12:30
   |
LL | struct B<T>(T);
   | ----------- function or associated item `method` not found for this struct
...
LL |     B::<for<'a> fn(&'a ())>::method(y);
   |                              ^^^^^^ function or associated item not found in `B<for<'a> fn(&'a ())>`

error: aborting due to 1 previous error

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