2023-03-09 01:42:45 -06:00
|
|
|
error[E0229]: associated type bindings are not allowed here
|
|
|
|
--> $DIR/issue-39259.rs:6:17
|
|
|
|
|
|
|
|
|
LL | impl Fn(u32) -> u32 for S {
|
|
|
|
| ^^^ associated type not allowed here
|
|
|
|
|
|
|
|
|
help: parenthesized trait syntax expands to `Fn<(u32,), Output=u32>`
|
|
|
|
--> $DIR/issue-39259.rs:6:6
|
|
|
|
|
|
|
|
|
LL | impl Fn(u32) -> u32 for S {
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-03-09 01:42:45 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0229`.
|