about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRejyr <jerrylwang123@gmail.com>2022-08-19 20:04:21 -0400
committerRejyr <jerrylwang123@gmail.com>2022-08-22 08:24:14 -0400
commit32e445af7499fa470961f30750942398bf51d198 (patch)
treead0cb2a3c24ee82317d519199e5901f3801d6455
parent6f83ec88e63b15f9cb34e63a5e149c5b826d6310 (diff)
downloadrust-32e445af7499fa470961f30750942398bf51d198.tar.gz
rust-32e445af7499fa470961f30750942398bf51d198.zip
hotfix: add missing import
-rw-r--r--compiler/rustc_lint/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/errors.rs b/compiler/rustc_lint/src/errors.rs
index 4738e8e82b6..2d7ec992f2b 100644
--- a/compiler/rustc_lint/src/errors.rs
+++ b/compiler/rustc_lint/src/errors.rs
@@ -1,5 +1,5 @@
 use rustc_macros::{SessionDiagnostic, SessionSubdiagnostic};
-use rustc_span::Span;
+use rustc_span::{Span, Symbol};
 
 #[derive(SessionDiagnostic)]
 #[error(lint::malformed_attribute, code = "E0452")]