mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
clean tests/ui/literals.rs
Cleaning the empty lines for clarity.
This commit is contained in:
parent
cf9370f670
commit
a5e66fa34b
2 changed files with 0 additions and 8 deletions
|
@ -11,7 +11,6 @@ use rustc::lint::{LintPass, LintArray};
|
||||||
declare_lint! { GOOD_LINT, Warn, "good lint" }
|
declare_lint! { GOOD_LINT, Warn, "good lint" }
|
||||||
declare_lint! { MISSING_LINT, Warn, "missing lint" }
|
declare_lint! { MISSING_LINT, Warn, "missing lint" }
|
||||||
|
|
||||||
|
|
||||||
pub struct Pass;
|
pub struct Pass;
|
||||||
|
|
||||||
impl LintPass for Pass {
|
impl LintPass for Pass {
|
||||||
|
@ -23,5 +22,3 @@ impl LintPass for Pass {
|
||||||
fn main() {
|
fn main() {
|
||||||
let _ = MISSING_LINT;
|
let _ = MISSING_LINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,11 +28,6 @@ fn main() {
|
||||||
let ok10 = 0_i64;
|
let ok10 = 0_i64;
|
||||||
let fail8 = 0123;
|
let fail8 = 0123;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let ok11 = 0o123;
|
let ok11 = 0o123;
|
||||||
let ok12 = 0b101010;
|
let ok12 = 0b101010;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue