diff options
| author | Nick Cameron <nrc@ncameron.org> | 2022-05-09 15:14:43 +0100 |
|---|---|---|
| committer | Nick Cameron <nrc@ncameron.org> | 2022-06-06 12:21:49 +0100 |
| commit | 640a46138839dbb5d9bf8df0e8b9cbec1d8e5ded (patch) | |
| tree | 282ba19f552fc560473f4e940e664826af212ce2 /src/test/ui/const-generics/impl-trait-with-const-arguments.stderr | |
| parent | 12872b6807dbfca49e903ba13e375b960e0bdd4d (diff) | |
| download | rust-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.stderr | 12 |
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`. |
