From df5b279ca962a84c83a6766dbb02cf23b866082a Mon Sep 17 00:00:00 2001 From: Boxy Date: Tue, 25 Feb 2025 00:06:38 +0000 Subject: Introduce `feature(generic_const_parameter_types)` --- tests/ui/error-codes/E0771.stderr | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/ui/error-codes') diff --git a/tests/ui/error-codes/E0771.stderr b/tests/ui/error-codes/E0771.stderr index 5e829e6f6d2..dfeaa347941 100644 --- a/tests/ui/error-codes/E0771.stderr +++ b/tests/ui/error-codes/E0771.stderr @@ -3,8 +3,6 @@ error[E0770]: the type of const parameters must not depend on other generic para | LL | fn function_with_str<'a, const STRING: &'a str>() {} | ^^ the type must not depend on the parameter `'a` - | - = note: lifetime parameters may not be used in the type of const parameters warning: the feature `unsized_const_params` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/E0771.rs:1:30 -- cgit 1.4.1-3-g733a5