coverage: Forbid multiple `#[coverage(..)]` attributes · rust-lang/rust@b5dfeba

File tree

1 file changed

lines changed

  • compiler/rustc_feature/src

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -479,7 +479,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[

479479

),

480480

gated!(

481481

coverage, Normal, template!(Word, List: "on|off"),

482-

WarnFollowing, EncodeCrossCrate::No,

482+

ErrorPreceding, EncodeCrossCrate::No,

483483

coverage_attribute, experimental!(coverage)

484484

),

485485