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"
Copy file name to clipboardExpand all lines: tests/ui/consts/const_in_pattern/non_structural_with_escaping_bounds.stderr
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ LL | C => (),
9
9
|
10
10
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
11
11
= note: `std::alloc::Global` must be annotated with `#[derive(PartialEq)]` to be usable in patterns
12
-
= note: `std::alloc::Global` must be annotated with `#[derive(PartialEq)]` to be usable in patterns
0 commit comments