diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-02-25 00:06:38 +0000 |
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2025-02-28 20:43:15 +0000 |
| commit | df5b279ca962a84c83a6766dbb02cf23b866082a (patch) | |
| tree | 203f2b2d84eb6e8e648ee2cdb961ad3d4b8d1aa2 /tests/ui/error-codes | |
| parent | 60493b8973ac5ba632952eaa2f212b56bb97ccfe (diff) | |
| download | rust-df5b279ca962a84c83a6766dbb02cf23b866082a.tar.gz rust-df5b279ca962a84c83a6766dbb02cf23b866082a.zip | |
Introduce `feature(generic_const_parameter_types)`
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0771.stderr | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
