Removed unused warning variant: UnusedLiteral
This commit is contained in:
parent
bf9297efcf
commit
da8d3fc1fc
|
@ -1337,13 +1337,6 @@ pub enum Warning {
|
||||||
name: String,
|
name: String,
|
||||||
},
|
},
|
||||||
|
|
||||||
#[error("I found a literal that is unused.\n")]
|
|
||||||
#[diagnostic(code("unused::literal"))]
|
|
||||||
UnusedLiteral {
|
|
||||||
#[label]
|
|
||||||
location: Span,
|
|
||||||
},
|
|
||||||
|
|
||||||
#[error(
|
#[error(
|
||||||
"I found an unused private function: '{}'.\n",
|
"I found an unused private function: '{}'.\n",
|
||||||
name.if_supports_color(Stderr, |s| s.purple()),
|
name.if_supports_color(Stderr, |s| s.purple()),
|
||||||
|
|
Loading…
Reference in New Issue