diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2024-05-20 17:47:54 +0000 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2024-05-21 20:16:39 +0000 |
| commit | 98dd6c7e8f33966221216200182175672294a719 (patch) | |
| tree | 728498eadb067e3af33102637c66d19c29291bd9 /compiler/rustc_interface/src/util.rs | |
| parent | c4f6502c6d0a31383d5b0f3280d97388897980d4 (diff) | |
| download | rust-98dd6c7e8f33966221216200182175672294a719.tar.gz rust-98dd6c7e8f33966221216200182175672294a719.zip | |
Rename buffer_lint_with_diagnostic to buffer_lint
Diffstat (limited to 'compiler/rustc_interface/src/util.rs')
| -rw-r--r-- | compiler/rustc_interface/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs index cb25bcac368..987e48a1a76 100644 --- a/compiler/rustc_interface/src/util.rs +++ b/compiler/rustc_interface/src/util.rs @@ -404,7 +404,7 @@ pub(crate) fn check_attr_crate_type( n, None, ); - lint_buffer.buffer_lint_with_diagnostic( + lint_buffer.buffer_lint( lint::builtin::UNKNOWN_CRATE_TYPES, ast::CRATE_NODE_ID, span, |
