mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix the error message for #![feature(no_coverage)]
This commit is contained in:
parent
c728bf3963
commit
c397ca0677
@ -137,8 +137,8 @@ declare_features! (
|
||||
/// Allows use of unary negate on unsigned integers, e.g., -e for e: u8
|
||||
(removed, negate_unsigned, "1.0.0", Some(29645), None, None),
|
||||
/// Allows `#[no_coverage]` on functions.
|
||||
/// The feature was renamed to `coverage` and the attribute to `#[coverage(on|off)]`
|
||||
(removed, no_coverage, "CURRENT_RUSTC_VERSION", Some(84605), None, Some("renamed to `coverage`")),
|
||||
/// The feature was renamed to `coverage_attribute` and the attribute to `#[coverage(on|off)]`
|
||||
(removed, no_coverage, "CURRENT_RUSTC_VERSION", Some(84605), None, Some("renamed to `coverage_attribute`")),
|
||||
/// Allows `#[no_debug]`.
|
||||
(removed, no_debug, "1.43.0", Some(29721), None, Some("removed due to lack of demand")),
|
||||
/// Allows using `#[on_unimplemented(..)]` on traits.
|
||||
|
@ -4,7 +4,7 @@ error[E0557]: feature has been removed
|
||||
LL | #![feature(no_coverage)]
|
||||
| ^^^^^^^^^^^ feature has been removed
|
||||
|
|
||||
= note: renamed to `coverage`
|
||||
= note: renamed to `coverage_attribute`
|
||||
|
||||
error[E0658]: the `#[coverage]` attribute is an experimental feature
|
||||
--> $DIR/feature-gate-coverage-attribute.rs:10:1
|
||||
|
Loading…
Reference in New Issue
Block a user