Removed unused warning variant: UnusedLiteral

This commit is contained in:
KtorZ 2023-03-16 14:30:06 +01:00 committed by Lucas
parent bf9297efcf
commit da8d3fc1fc
1 changed files with 0 additions and 7 deletions

View File

@ -1337,13 +1337,6 @@ pub enum Warning {
name: String,
},
#[error("I found a literal that is unused.\n")]
#[diagnostic(code("unused::literal"))]
UnusedLiteral {
#[label]
location: Span,
},
#[error(
"I found an unused private function: '{}'.\n",
name.if_supports_color(Stderr, |s| s.purple()),