diff options
| author | Rejyr <jerrylwang123@gmail.com> | 2022-08-19 19:52:20 -0400 | 
|---|---|---|
| committer | Rejyr <jerrylwang123@gmail.com> | 2022-08-22 08:24:14 -0400 | 
| commit | 6f83ec88e63b15f9cb34e63a5e149c5b826d6310 (patch) | |
| tree | ae2c69b52212e1f42b137910718477560858e62b /compiler/rustc_lint/src/errors.rs | |
| parent | 874a79fae30ec93bcd9847187741378c405bd9da (diff) | |
| download | rust-6f83ec88e63b15f9cb34e63a5e149c5b826d6310.tar.gz rust-6f83ec88e63b15f9cb34e63a5e149c5b826d6310.zip | |
change: diagnostic `String` field to `Symbol`
Diffstat (limited to 'compiler/rustc_lint/src/errors.rs')
| -rw-r--r-- | compiler/rustc_lint/src/errors.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_lint/src/errors.rs b/compiler/rustc_lint/src/errors.rs index 679cfad4961..4738e8e82b6 100644 --- a/compiler/rustc_lint/src/errors.rs +++ b/compiler/rustc_lint/src/errors.rs @@ -25,7 +25,7 @@ pub enum MalformedAttributeSub { pub struct UnknownTool { #[primary_span] pub span: Option<Span>, - pub tool_name: String, + pub tool_name: Symbol, pub lint_name: String, #[help] pub is_nightly_build: Option<()>, | 
