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 /compiler/rustc_error_codes/src | |
| 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 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0632.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0632.md b/compiler/rustc_error_codes/src/error_codes/E0632.md index 40840e894d6..7e0a5c71f5f 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0632.md +++ b/compiler/rustc_error_codes/src/error_codes/E0632.md @@ -1,9 +1,11 @@ +#### Note: this error code is no longer emitted by the compiler. + An explicit generic argument was provided when calling a function that uses `impl Trait` in argument position. Erroneous code example: -```compile_fail,E0632 +```ignore (no longer an error) fn foo<T: Copy>(a: T, b: impl Clone) {} foo::<i32>(0i32, "abc".to_string()); |
