diff options
Diffstat (limited to 'tests/ui/issues/issue-60989.stderr')
-rw-r--r-- | tests/ui/issues/issue-60989.stderr | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-60989.stderr b/tests/ui/issues/issue-60989.stderr new file mode 100644 index 000000000..e0236567b --- /dev/null +++ b/tests/ui/issues/issue-60989.stderr @@ -0,0 +1,19 @@ +error[E0109]: type arguments are not allowed on local variable + --> $DIR/issue-60989.rs:12:10 + | +LL | c1::<()>; + | -- ^^ type argument not allowed + | | + | not allowed on local variable + +error[E0109]: type arguments are not allowed on local variable + --> $DIR/issue-60989.rs:16:10 + | +LL | c1::<dyn Into<B>>; + | -- ^^^^^^^^^^^ type argument not allowed + | | + | not allowed on local variable + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0109`. |