Skip to content

Commit 579831c

Browse files
Fix compilation error because of potential_query_instability in diagnostics/message.rs
1 parent 551940e commit 579831c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

compiler/rustc_macros/src/diagnostics/message.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ pub(crate) struct Message {
1717
}
1818

1919
impl Message {
20+
// About `allow(rustc::potential_query_instability)`: The order of key/values of `fields` and
21+
// `field_map` doesn't matters.
22+
#[allow(rustc::potential_query_instability)]
2023
pub(crate) fn new(
2124
attr_span: Span,
2225
message_span: Span,

0 commit comments

Comments
 (0)