]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-60989.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / issues / issue-60989.stderr
1 error[E0109]: type arguments are not allowed on local variable
2   --> $DIR/issue-60989.rs:12:10
3    |
4 LL |     c1::<()>;
5    |     --   ^^ type argument not allowed
6    |     |
7    |     not allowed on local variable
8
9 error[E0109]: type arguments are not allowed on local variable
10   --> $DIR/issue-60989.rs:16:10
11    |
12 LL |     c1::<dyn Into<B>>;
13    |     --   ^^^^^^^^^^^ type argument not allowed
14    |     |
15    |     not allowed on local variable
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0109`.