about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-02 07:03:26 +0000
committerbors <bors@rust-lang.org>2017-10-02 07:03:26 +0000
commit9ae6ed78acf9dc865e2300a7db556389eed9692d (patch)
treea88473a1d7bb97b8a08866c02e68f965cad25362 /src/libsyntax
parent2146c613d12de8dc44bc26e50af55251fc7e4f9c (diff)
parent8a14022c5d31e1648bd1212a52a9f1a9ddbf3fa1 (diff)
downloadrust-9ae6ed78acf9dc865e2300a7db556389eed9692d.tar.gz
rust-9ae6ed78acf9dc865e2300a7db556389eed9692d.zip
Auto merge of #44942 - zackmdavis:lint_suggestions, r=estebank
code suggestions for unused-mut, while-true, deprecated-attribute, and unused-parens lints

![lint_suggestions](https://user-images.githubusercontent.com/1076988/31044068-b2074de8-a57c-11e7-9319-6668508b6d1f.png)

r? @estebank
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index e92a7484f33..f6e85ed6725 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -824,7 +824,8 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
     ("no_debug", Whitelisted, Gated(
         Stability::Deprecated("https://github.com/rust-lang/rust/issues/29721"),
         "no_debug",
-        "the `#[no_debug]` attribute is an experimental feature",
+        "the `#[no_debug]` attribute was an experimental feature that has been \
+         deprecated due to lack of demand",
         cfg_fn!(no_debug))),
     ("omit_gdb_pretty_printer_section", Whitelisted, Gated(Stability::Unstable,
                                                        "omit_gdb_pretty_printer_section",