You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"must be annotated with `#[derive(PartialEq)]` to be usable in patterns",
440
440
);
441
441
}
442
+
#[allow(rustc::potential_query_instability)]// Span labels will be sorted by the rendering
442
443
for ty in v.manual{
443
444
err.note(format!(
444
445
"`{ty}` must be annotated with `#[derive(PartialEq)]` to be usable in patterns, manual `impl`s are not sufficient; see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details"
445
446
));
446
447
}
448
+
#[allow(rustc::potential_query_instability)]// Span labels will be sorted by the rendering
447
449
for ty in v.without{
448
450
err.note(format!(
449
451
"`{ty}` must be annotated with `#[derive(PartialEq)]` to be usable in patterns"
0 commit comments