blob: 9dd4d71c367b021d2eaf144ad0808e0fee3eced3 [file] [edit]
error[E0599]: no associated function or constant 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);
| ----------- associated function or constant `method` not found for this struct
...
LL | B::<for<'a> fn(&'a ())>::method(y);
| ^^^^^^ associated function or constant 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`.