We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72a6ad commit 761ba5bCopy full SHA for 761ba5b
compiler/rustc_session/src/options.rs
@@ -675,8 +675,8 @@ mod parse {
675
pub(crate) fn parse_frame_pointer(slot: &mut FramePointer, v: Option<&str>) -> bool {
676
let mut yes = false;
677
match v {
678
- Some(_) if parse_bool(&mut yes, v) && yes => slot.ratchet(FramePointer::Always),
679
- Some(_) if parse_bool(&mut yes, v) => slot.ratchet(FramePointer::MayOmit),
+ _ if parse_bool(&mut yes, v) && yes => slot.ratchet(FramePointer::Always),
+ _ if parse_bool(&mut yes, v) => slot.ratchet(FramePointer::MayOmit),
680
Some("always") => slot.ratchet(FramePointer::Always),
681
Some("non-leaf") => slot.ratchet(FramePointer::NonLeaf),
682
_ => return false,
0 commit comments