rust/src/librustc_lint
Mazdak Farrokhzad 0592d13757
Rollup merge of #64472 - Mark-Simulacrum:unused-parens-attr, r=varkor
Don't mark expression with attributes as not needing parentheses

This is not perfectly correct as `#[attr] (5)` will still not lint, but it does seem good enough, in particular as the parentheses in that case are not unambiguously incorrect; I might personally prefer to see them for clarity.

Fixes https://github.com/rust-lang/rust/issues/43279.
2019-09-15 19:36:01 +02:00
..
nonstandard_style Separate librustc_lint module 2019-06-16 14:17:01 +03:00
builtin.rs Warn on no_start, crate_id attribute use 2019-09-14 19:43:39 -04:00
Cargo.toml rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
error_codes.rs Replace diagnostic plugins with macro_rules 2019-09-05 12:35:15 -04:00
lib.rs Rollup merge of #64066 - petrochenkov:softstab, r=matthewjasper 2019-09-08 00:07:31 +02:00
non_ascii_idents.rs in which the non_ascii_idents lint appears (RFC 2457) 2019-07-06 17:23:17 -07:00
nonstandard_style.rs Modifies how Arg, Arm, Field, FieldPattern and Variant are visited 2019-08-24 13:54:40 -03:00
redundant_semicolon.rs Add lint for excess trailing semicolons 2019-08-12 10:14:07 -04:00
types.rs Refactor "not FFI-safe" diagnostic 2019-09-10 22:29:31 +01:00
unused.rs Rollup merge of #64472 - Mark-Simulacrum:unused-parens-attr, r=varkor 2019-09-15 19:36:01 +02:00