about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/util.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2024-05-20 17:47:54 +0000
committerXiretza <xiretza@xiretza.xyz>2024-05-21 20:16:39 +0000
commit98dd6c7e8f33966221216200182175672294a719 (patch)
tree728498eadb067e3af33102637c66d19c29291bd9 /compiler/rustc_interface/src/util.rs
parentc4f6502c6d0a31383d5b0f3280d97388897980d4 (diff)
downloadrust-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.rs2
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,