From 640a46138839dbb5d9bf8df0e8b9cbec1d8e5ded Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Mon, 9 May 2022 15:14:43 +0100 Subject: Deactivate feature gate explicit_generic_args_with_impl_trait Signed-off-by: Nick Cameron --- compiler/rustc_error_codes/src/error_codes/E0632.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler/rustc_error_codes') 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(a: T, b: impl Clone) {} foo::(0i32, "abc".to_string()); -- cgit 1.4.1-3-g733a5