]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107580 - lenko-d:default_value_for_a_lifetime_generic_parameter_prod...
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Mon, 6 Feb 2023 14:24:14 +0000 (19:54 +0530)
committerGitHub <noreply@github.com>
Mon, 6 Feb 2023 14:24:14 +0000 (19:54 +0530)
commit8ddbfadda0cd0b2cde11bd60d1e3785657841fc0
treeefe002b18ca0da69a227aaf335db10ac20404ab8
parent496adf81deaec94015e4cde2165d094eac09a940
parentd9f60052d2471b15417153d3daca8d83d1c44fd4
Rollup merge of #107580 - lenko-d:default_value_for_a_lifetime_generic_parameter_produces_confusing_diagnostic, r=compiler-errors

Recover from lifetimes with default lifetimes in generic args

Fixes [#107492](https://github.com/rust-lang/rust/issues/107492)
compiler/rustc_error_messages/locales/en-US/parse.ftl
compiler/rustc_parse/src/errors.rs