Files
rust/compiler/rustc_span
Guillaume Gomez 188f0986cd Rollup merge of #161974 - matthiaskrgr:never_attr_rm, r=mejrs
remove rustc_never_type_options attr remnants

While fuzzing I noticed we would now ICE in two places when encountering an empty or filled `#![rustc_never_type_options()]` attr:

compiler/rustc_passes/src/check_attr.rs:160:33: builtin attribute "rustc_never_type_options" not handled by `CheckAttrVisitor`
compiler/rustc_attr_parsing/src/validate_attr.rs:42:17: assertion failed: lint_attrs.contains(name)

So remove these two entries after which we will just error with `error: cannot find attribute`

r? @WaffleLapkin
2026-08-29 22:46:04 +02:00
..