mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
15 lines
727 B
Rust
15 lines
727 B
Rust
//@rustc-env:RUST_BACKTRACE=0
|
|
//@normalize-stderr-test: "Clippy version: .*" -> "Clippy version: foo"
|
|
//@normalize-stderr-test: "produce_ice.rs:\d*:\d*" -> "produce_ice.rs"
|
|
//@normalize-stderr-test: "', .*clippy_lints" -> "', clippy_lints"
|
|
//@normalize-stderr-test: "'rustc'" -> "'<unnamed>'"
|
|
//@normalize-stderr-test: "rustc 1\.\d+.* running on .*" -> "rustc <version> running on <target>"
|
|
//@normalize-stderr-test: "(?ms)query stack during panic:\n.*end of query stack\n" -> ""
|
|
//@normalize-stderr-test: "this compiler `.*` is outdated" -> "this compiler <version> is outdated"
|
|
|
|
#![deny(clippy::internal)]
|
|
#![allow(clippy::missing_clippy_version_attribute)]
|
|
|
|
fn it_looks_like_you_are_trying_to_kill_clippy() {}
|
|
|
|
fn main() {}
|