granite-rust/compiler
Dylan DPC 7cd7dee315
Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkov
Extend `proc_macro_back_compat` lint to `procedural-masquerade`

We now lint on *any* use of `procedural-masquerade` crate. While this
crate still exists, its main reverse dependency (`cssparser`) no longer
depends on it. Any crates still depending off should stop doing so, as
it only exists to support very old Rust versions.

If a crate actually needs to support old versions of rustc via
`procedural-masquerade`, then they'll just need to accept the warning
until we remove it entirely (at the same time as the back-compat hack).
The latest version of `procedural-masquerade` does work with the
latest rustc, but trying to check for the version seems like more
trouble than it's worth.

While working on this, I realized that the `proc-macro-hack` check was
never actually doing anything. The corresponding enum variant in
`proc-macro-hack` is named `Value` or `Nested` - it has never been
called `Input`. Due to a strange Crater issue, the Crater run that
tested adding this did *not* end up testing it - some of the crates that
would have failed did not actually have their tests checked, making it
seem as though the `proc-macro-hack` check was working.

The Crater issue is being discussed at
https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/Nearly.20identical.20Crater.20runs.20processed.20a.20crate.20differently/near/230406661

Despite the `proc-macro-hack` check not actually doing anything, we
haven't gotten any reports from users about their build being broken.
I went ahead and removed it entirely, since it's clear that no one is
being affected by the `proc-macro-hack` regression in practice.
2021-03-18 00:28:10 +01:00
..
rustc Rollup merge of #82642 - sfackler:jemalloc-zone, r=pnkfelix 2021-03-08 13:13:22 +01:00
rustc_apfloat bumped smallvec deps 2021-02-14 18:03:11 +03:00
rustc_arena Update to rustc-rayon 0.3.1 2021-03-10 17:53:35 -08:00
rustc_ast Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkov 2021-03-18 00:28:10 +01:00
rustc_ast_lowering Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00
rustc_ast_passes ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_ast_pretty ast: Reduce size of ExprKind by boxing fields of ExprKind::Struct 2021-03-16 11:41:24 +03:00
rustc_attr Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakis 2021-03-05 05:28:07 +00:00
rustc_builtin_macros Rollup merge of #82270 - asquared31415:asm-syntax-directive-errors, r=nagisa 2021-03-18 00:28:06 +01:00
rustc_codegen_cranelift s/ConstantSource/ConstantKind/ 2021-03-15 12:06:52 +00:00
rustc_codegen_llvm Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser 2021-03-18 00:28:09 +01:00
rustc_codegen_ssa Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser 2021-03-18 00:28:09 +01:00
rustc_data_structures Auto merge of #82999 - cuviper:rustc-rayon-0.3.1, r=Mark-Simulacrum 2021-03-15 08:49:25 +00:00
rustc_driver Add rustc_interface::interface::Config::parse_sess_created 2021-03-15 18:24:58 +08:00
rustc_error_codes Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomez 2021-03-04 20:01:01 +09:00
rustc_errors Change x64 size checks to not apply to x32. 2021-03-06 16:02:48 +00:00
rustc_expand Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkov 2021-03-18 00:28:10 +01:00
rustc_feature Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
rustc_fs_util Optimize away a fs::metadata call. 2021-01-06 08:33:15 -08:00
rustc_graphviz remove redundant closures (clippy::redundant_closure) 2021-01-03 13:34:24 +01:00
rustc_hir Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00
rustc_hir_pretty ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_incremental ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_index Remove useless Clone bound in IndexVec. 2021-03-09 18:51:36 +01:00
rustc_infer More precise spans for HIR paths 2021-03-15 22:13:45 +03:00
rustc_interface Rollup merge of #83144 - hyd-dev:parse-sess-created, r=oli-obk 2021-03-15 16:23:00 +01:00
rustc_lexer Return EOF_CHAR constant instead of magic char. 2021-01-07 13:20:04 +01:00
rustc_lint Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00
rustc_lint_defs Introduce proc_macro_back_compat lint, and emit for time-macros-impl 2021-03-14 21:31:46 -04:00
rustc_llvm Auto merge of #83044 - kubo39:set-llvm-code-model, r=nikic 2021-03-14 11:46:57 +00:00
rustc_macros Add inlining. 2021-03-11 12:24:43 +01:00
rustc_metadata Iterate on crate_inherent_impls for metadata. 2021-03-13 14:17:55 +01:00
rustc_middle Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser 2021-03-18 00:28:09 +01:00
rustc_mir Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser 2021-03-18 00:28:09 +01:00
rustc_mir_build Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00
rustc_parse Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00
rustc_parse_format parse_format: treat r" as a literal 2021-02-06 15:01:07 +00:00
rustc_passes ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_plugin_impl Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
rustc_privacy ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_query_impl Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper 2021-03-16 22:42:56 +00:00
rustc_query_system Auto merge of #82999 - cuviper:rustc-rayon-0.3.1, r=Mark-Simulacrum 2021-03-15 08:49:25 +00:00
rustc_resolve ast: Reduce size of ExprKind by boxing fields of ExprKind::Struct 2021-03-16 11:41:24 +03:00
rustc_save_analysis ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
rustc_serialize Update the bootstrap compiler 2021-02-20 17:19:30 -05:00
rustc_session Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiser 2021-03-18 00:28:09 +01:00
rustc_span Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
rustc_symbol_mangling rustc_target: add "unwind" payloads to Abi 2021-03-09 14:38:29 -05:00
rustc_target Address review comments 2021-03-14 23:21:03 +00:00
rustc_trait_selection Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper 2021-03-16 22:42:56 +00:00
rustc_traits Fix tests 2021-03-03 11:22:44 +01:00
rustc_ty_utils Auto merge of #82159 - BoxyUwU:uwu, r=varkor 2021-02-24 21:54:52 +00:00
rustc_type_ir New pass to deduplicate blocks 2021-02-21 21:51:54 +01:00
rustc_typeck Auto merge of #83188 - petrochenkov:field, r=lcnr 2021-03-17 16:49:46 +00:00