about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-03 19:58:26 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 11:10:37 +0100
commitb54c5781b8252189f04a58247f644bcf2bd9dd68 (patch)
treea36b4ff5dfb4d607114e8ef33b96d6c6fddbf361 /src/doc
parent98d2c510dd121d31061ae95b41a5afb3386d17e3 (diff)
downloadrust-b54c5781b8252189f04a58247f644bcf2bd9dd68.tar.gz
rust-b54c5781b8252189f04a58247f644bcf2bd9dd68.zip
parenthesized_params_in_types_and_modules -> error
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/listing/deny-by-default.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/doc/rustc/src/lints/listing/deny-by-default.md b/src/doc/rustc/src/lints/listing/deny-by-default.md
index b349c68359c..466a748bcee 100644
--- a/src/doc/rustc/src/lints/listing/deny-by-default.md
+++ b/src/doc/rustc/src/lints/listing/deny-by-default.md
@@ -122,31 +122,6 @@ error: literal out of range for u8
   |
 ```
 
-## parenthesized-params-in-types-and-modules
-
-This lint detects incorrect parentheses. Some example code that triggers this
-lint:
-
-```rust,ignore
-let x = 5 as usize();
-```
-
-This will produce:
-
-```text
-error: parenthesized parameters may only be used with a trait
- --> src/main.rs:2:21
-  |
-2 |   let x = 5 as usize();
-  |                     ^^
-  |
-  = note: `#[deny(parenthesized_params_in_types_and_modules)]` on by default
-  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
-  = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
-```
-
-To fix it, remove the `()`s.
-
 ## pub-use-of-private-extern-crate
 
 This lint detects a specific situation of re-exporting a private `extern crate`;