1 error[E0412]: cannot find type `F` in this scope
2 --> $DIR/issue-83693.rs:6:6
5 | ^ help: a trait with a similar name exists: `Fn`
6 --> $SRC_DIR/core/src/ops/function.rs:LL:COL
8 = note: similarly named trait `Fn` defined here
10 error[E0412]: cannot find type `TestResult` in this scope
11 --> $DIR/issue-83693.rs:9:22
13 LL | <Self as Fn(&TestResult)>::call
14 | ^^^^^^^^^^ not found in this scope
16 error[E0412]: cannot find type `x` in this scope
17 --> $DIR/issue-83693.rs:16:6
19 LL | <x as Fn(&usize)>::call
20 | ^ not found in this scope
22 error[E0229]: associated type bindings are not allowed here
23 --> $DIR/issue-83693.rs:9:18
25 LL | <Self as Fn(&TestResult)>::call
26 | ^^^^^^^^^^^^^^^ associated type not allowed here
28 error[E0229]: associated type bindings are not allowed here
29 --> $DIR/issue-83693.rs:16:11
31 LL | <x as Fn(&usize)>::call
32 | ^^^^^^^^^^ associated type not allowed here
34 error: aborting due to 5 previous errors
36 Some errors have detailed explanations: E0229, E0412.
37 For more information about an error, try `rustc --explain E0229`.