about summary refs log tree commit diff
path: root/tests/ui/fn/issue-39259.stderr
blob: bd102e58135624e68d400f07be37c84c343851ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 {
   |      ^^^^^^^^^^^^^^

error: aborting due to 1 previous error

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