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
Auto merge of #142921 - JonathanBrouwer:rustc_attributes_parser, r=<try>
Port `#[rustc_layout_scalar_valid_range_start/end]` to the new attrib…
Ports `rustc_layout_scalar_valid_range_start` and `rustc_layout_scalar_valid_range_end` to the new attribute parsing infrastructure for #131229 (comment)
r? `@jdonszelmann`
let start = find_attr!(self.get_all_attrs(def_id),AttributeKind::RustcLayoutScalarValidRangeStart(n, _) => Bound::Included(*n)).unwrap_or(Bound::Unbounded);
1654
+
let end = find_attr!(self.get_all_attrs(def_id),AttributeKind::RustcLayoutScalarValidRangeEnd(n, _) => Bound::Included(*n)).unwrap_or(Bound::Unbounded);
0 commit comments