diff options
| author | bors <bors@rust-lang.org> | 2021-12-12 14:24:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-12 14:24:23 +0000 |
| commit | 753e569c9c2a4e3ef394ef7abd0802bf57f66bce (patch) | |
| tree | e171cbd9a5f95de83f7705a4ec69901239b00592 /src/test/ui/issues | |
| parent | 4c9bdf4cbbf1deab0b5da398d4910558a66b332f (diff) | |
| parent | 1e896df2fe8978b549e05e4b79a89456ee272715 (diff) | |
| download | rust-753e569c9c2a4e3ef394ef7abd0802bf57f66bce.tar.gz rust-753e569c9c2a4e3ef394ef7abd0802bf57f66bce.zip | |
Auto merge of #90207 - BoxyUwU:stabilise_cg_defaults, r=lcnr
Stabilise `feature(const_generics_defaults)` `feature(const_generics_defaults)` is complete implementation wise and has a pretty extensive test suite so I think is ready for stabilisation. needs stabilisation report and maybe an RFC :sweat_smile: r? `@lcnr` cc `@rust-lang/project-const-generics`
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr b/src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr index a1e9a903f81..119b1a0d207 100644 --- a/src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr +++ b/src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr @@ -2,7 +2,7 @@ error: lifetime parameters must be declared prior to type parameters --> $DIR/issue-80512-param-reordering-with-defaults.rs:3:18 | LL | struct S<T = (), 'a>(&'a T); - | ---------^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T = ()>` + | ---------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T = ()>` error: aborting due to previous error |
