diff options
| author | bors <bors@rust-lang.org> | 2024-09-30 19:13:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-30 19:13:29 +0000 |
| commit | fb4aebddd18d258046ddb51fd41589295259a0fa (patch) | |
| tree | 9cf3e406a149c628a2cb34551d2e8d2ac5c82576 /tests/ui/const-generics/lifetime-in-const-param.rs | |
| parent | 63a0bdd5622eaf6b9524702f055bb4525acfc9f2 (diff) | |
| parent | fd67755554100f47b11b70937690cd83319ffc7a (diff) | |
| download | rust-fb4aebddd18d258046ddb51fd41589295259a0fa.tar.gz rust-fb4aebddd18d258046ddb51fd41589295259a0fa.zip | |
Auto merge of #131069 - matthiaskrgr:rollup-jg1icf9, r=matthiaskrgr
Rollup of 5 pull requests
Successful merges:
- #131023 (Copy correct path to clipboard for modules/keywords/primitives)
- #131035 (Preserve brackets around if-lets and skip while-lets)
- #131038 (Fix `adt_const_params` leaking `{type error}` in error msg)
- #131053 (Improve `--print=check-cfg` documentation)
- #131056 (enable compiler fingerprint logs in verbose mode)
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/ui/const-generics/lifetime-in-const-param.rs')
| -rw-r--r-- | tests/ui/const-generics/lifetime-in-const-param.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/const-generics/lifetime-in-const-param.rs b/tests/ui/const-generics/lifetime-in-const-param.rs index be90dbb213e..ce6b52b229f 100644 --- a/tests/ui/const-generics/lifetime-in-const-param.rs +++ b/tests/ui/const-generics/lifetime-in-const-param.rs @@ -4,6 +4,5 @@ struct S2<'b>(&'b ()); struct S<'a, const N: S2>(&'a ()); //~^ ERROR missing lifetime specifier [E0106] -//~| ERROR `S2<'_>` is forbidden as the type of a const generic parameter fn main() {} |
