mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
13 lines
543 B
Plaintext
13 lines
543 B
Plaintext
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`.
|