summary refs log tree commit diff
path: root/compiler/rustc_lint/src/errors.rs
diff options
context:
space:
mode:
authorJhonny Bill Mena <jhonnybillm@gmail.com>2022-09-07 09:36:08 -0400
committerJhonny Bill Mena <jhonnybillm@gmail.com>2022-09-21 11:39:52 -0400
commit5b8152807cae152d5c7cfb40615e5a817a6cf750 (patch)
tree4550b129bfedd6ac5b9535f8d889fb0174fff56f /compiler/rustc_lint/src/errors.rs
parentb79b7d8b4e0f2b112142a9ce1fea335f321a6558 (diff)
downloadrust-5b8152807cae152d5c7cfb40615e5a817a6cf750.tar.gz
rust-5b8152807cae152d5c7cfb40615e5a817a6cf750.zip
UPDATE - move SessionDiagnostic from rustc_session to rustc_errors
Diffstat (limited to 'compiler/rustc_lint/src/errors.rs')
-rw-r--r--compiler/rustc_lint/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/errors.rs b/compiler/rustc_lint/src/errors.rs
index 5c183d4091e..ac98948189b 100644
--- a/compiler/rustc_lint/src/errors.rs
+++ b/compiler/rustc_lint/src/errors.rs
@@ -1,6 +1,6 @@
-use rustc_errors::{fluent, AddSubdiagnostic, ErrorGuaranteed, Handler};
+use rustc_errors::{fluent, AddSubdiagnostic, ErrorGuaranteed, Handler, SessionDiagnostic};
 use rustc_macros::{SessionDiagnostic, SessionSubdiagnostic};
-use rustc_session::{lint::Level, SessionDiagnostic};
+use rustc_session::lint::Level;
 use rustc_span::{Span, Symbol};
 
 #[derive(SessionDiagnostic)]