1
Fork 0

Error on resetted binding mode in edition 2024

This commit is contained in:
Nadrieril 2024-10-06 20:47:06 +02:00
parent 4abbdfa1c9
commit 4107322766
12 changed files with 270 additions and 48 deletions

View file

@ -983,6 +983,8 @@ pub(crate) struct Rust2024IncompatiblePat {
pub(crate) struct Rust2024IncompatiblePatSugg {
pub(crate) suggestion: Vec<(Span, String)>,
/// Whether the incompatibility is a hard error because a relevant span is in edition 2024.
pub(crate) is_hard_error: bool,
}
impl Subdiagnostic for Rust2024IncompatiblePatSugg {