We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d03812 commit 6752a7dCopy full SHA for 6752a7d
compiler/rustc_mir_build/src/build/custom/mod.rs
@@ -118,7 +118,7 @@ fn parse_attribute(attr: &Attribute) -> MirPhase {
118
phase = Some(value);
119
}
120
other => {
121
- panic!("Unexpected key {}", other);
+ bug!("Unexpected key while parsing custom_mir attribute: '{}'", other);
122
123
124
0 commit comments