about summary refs log tree commit diff
path: root/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
diff options
context:
space:
mode:
authorNick Cameron <nrc@ncameron.org>2022-05-09 15:14:43 +0100
committerNick Cameron <nrc@ncameron.org>2022-06-06 12:21:49 +0100
commit640a46138839dbb5d9bf8df0e8b9cbec1d8e5ded (patch)
tree282ba19f552fc560473f4e940e664826af212ce2 /src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
parent12872b6807dbfca49e903ba13e375b960e0bdd4d (diff)
downloadrust-640a46138839dbb5d9bf8df0e8b9cbec1d8e5ded.tar.gz
rust-640a46138839dbb5d9bf8df0e8b9cbec1d8e5ded.zip
Deactivate feature gate explicit_generic_args_with_impl_trait
Signed-off-by: Nick Cameron <nrc@ncameron.org>
Diffstat (limited to 'src/test/ui/const-generics/impl-trait-with-const-arguments.stderr')
-rw-r--r--src/test/ui/const-generics/impl-trait-with-const-arguments.stderr12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr b/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
deleted file mode 100644
index 87e4ad50040..00000000000
--- a/src/test/ui/const-generics/impl-trait-with-const-arguments.stderr
+++ /dev/null
@@ -1,12 +0,0 @@
-error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
-  --> $DIR/impl-trait-with-const-arguments.rs:18:20
-   |
-LL |     assert_eq!(f::<4usize>(Usizable), 20usize);
-   |                    ^^^^^^ explicit generic argument not allowed
-   |
-   = note: see issue #83701 <https://github.com/rust-lang/rust/issues/83701> for more information
-   = help: add `#![feature(explicit_generic_args_with_impl_trait)]` to the crate attributes to enable
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0632`.