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`
7 ::: $SRC_DIR/core/src/ops/function.rs:LL:COL
9 LL | pub trait Fn<Args>: FnMut<Args> {
10 | ------------------------------- similarly named trait `Fn` defined here
12 error[E0412]: cannot find type `TestResult` in this scope
13 --> $DIR/issue-83693.rs:9:22
15 LL | <Self as Fn(&TestResult)>::call
16 | ^^^^^^^^^^ not found in this scope
18 error[E0412]: cannot find type `x` in this scope
19 --> $DIR/issue-83693.rs:16:6
21 LL | <x as Fn(&usize)>::call
22 | ^ not found in this scope
24 error[E0229]: associated type bindings are not allowed here
25 --> $DIR/issue-83693.rs:9:18
27 LL | <Self as Fn(&TestResult)>::call
28 | ^^^^^^^^^^^^^^^ associated type not allowed here
30 error[E0229]: associated type bindings are not allowed here
31 --> $DIR/issue-83693.rs:16:11
33 LL | <x as Fn(&usize)>::call
34 | ^^^^^^^^^^ associated type not allowed here
36 error: aborting due to 5 previous errors
38 Some errors have detailed explanations: E0229, E0412.
39 For more information about an error, try `rustc --explain E0229`.