diff options
| author | bors <bors@rust-lang.org> | 2021-03-15 15:24:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-15 15:24:54 +0000 |
| commit | 2ccf06302c08d7d4911aad40e66a9a3ee731c6f9 (patch) | |
| tree | 407134d0127b6a7d759851a2a032f5b172ca845a /compiler/rustc_lint/src/context.rs | |
| parent | 7a7bbdb3abfa72ca717ef54ffc4f307d0d44de67 (diff) | |
| parent | 2816c110e01846dd737207f19ba3db11a20b887d (diff) | |
| download | rust-2ccf06302c08d7d4911aad40e66a9a3ee731c6f9.tar.gz rust-2ccf06302c08d7d4911aad40e66a9a3ee731c6f9.zip | |
Auto merge of #83149 - Dylan-DPC:rollup-ov70c5v, r=Dylan-DPC
Rollup of 10 pull requests
Successful merges:
- #82989 (Custom error on literal names from other languages)
- #83054 (Validate rustc_layout_scalar_valid_range_{start,end} attributes)
- #83098 (Find more invalid doc attributes)
- #83108 (Remove unused `opt_local_def_id_to_hir_id` function)
- #83110 (Fix typos in `library/core/src/ptr/mod.rs` and `library/std/src/sys_common/thread_local_dtor.rs`)
- #83113 (Minor refactoring in try_index_step)
- #83127 (Introduce `proc_macro_back_compat` lint, and emit for `time-macros-impl`)
- #83132 (Don't encode file information for span with a dummy location)
- #83141 (:arrow_up: rust-analyzer)
- #83144 (Introduce `rustc_interface::interface::Config::parse_sess_created` callback)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_lint/src/context.rs')
| -rw-r--r-- | compiler/rustc_lint/src/context.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/context.rs b/compiler/rustc_lint/src/context.rs index 7d5577cdca6..42ead89ca4f 100644 --- a/compiler/rustc_lint/src/context.rs +++ b/compiler/rustc_lint/src/context.rs @@ -670,6 +670,9 @@ pub trait LintContext: Sized { json ); } + BuiltinLintDiagnostics::ProcMacroBackCompat(note) => { + db.note(¬e); + } } // Rewrap `db`, and pass control to the user. decorate(LintDiagnosticBuilder::new(db)); |
