rust/compiler/rustc_lint/src
Yuki Okushi 36f1ed6de2
Rollup merge of #85850 - bjorn3:less_feature_gates, r=jyn514
Remove unused feature gates

The first commit removes a usage of a feature gate, but I don't expect it to be controversial as the feature gate was only used to workaround a limitation of rust in the past. (closures never being `Clone`)

The second commit uses `#[allow_internal_unstable]` to avoid leaking the `trusted_step` feature gate usage from inside the index newtype macro. It didn't work for the `min_specialization` feature gate though.

The third commit removes (almost) all feature gates from the compiler that weren't used anyway.
2021-06-04 13:42:54 +09:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Implement rustc side of report-future-incompat 2020-10-30 20:02:14 -04:00
builtin.rs Auto merge of #83213 - rylev:update-lints-to-errors, r=nikomatsakis 2021-05-04 08:09:23 +00:00
context.rs Restrict access to crate_name. 2021-06-02 18:35:32 +02:00
early.rs Fix duplicate unknown lint errors 2021-05-07 17:26:32 -05:00
internal.rs Implement span quoting for proc-macros 2021-05-12 00:51:31 -04:00
late.rs Auto merge of #85178 - cjgillot:local-crate, r=oli-obk 2021-05-17 01:42:03 +00:00
levels.rs Use () for lint_levels. 2021-05-12 13:58:43 +02:00
lib.rs Remove unused feature gates 2021-05-31 13:55:43 +02:00
methods.rs Fix doctest 2020-10-26 18:19:49 -04:00
non_ascii_idents.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
non_fmt_panic.rs Implement span quoting for proc-macros 2021-05-12 00:51:31 -04:00
nonstandard_style.rs Lint against non-camelCase trait alias names 2021-05-26 19:55:27 -04:00
noop_method_call.rs Warn in doc test 2021-03-03 11:23:33 +01:00
passes.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
redundant_semicolon.rs Lint on redundant trailing semicolon after item 2020-12-29 16:30:02 -05:00
traits.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
types.rs Use pattern matching instead of checking lengths explicitly 2021-06-01 22:31:46 +02:00
unused.rs Visit attributes in one go. 2021-03-09 19:09:34 +01:00