mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
12 lines
261 B
Rust
12 lines
261 B
Rust
//@compile-flags: -C incremental=target/debug/test/incr
|
|
|
|
#![allow(clippy::uninlined_format_args)]
|
|
|
|
// see https://github.com/rust-lang/rust-clippy/issues/10969
|
|
|
|
fn main() {
|
|
let s = "Hello, world!";
|
|
println!("{}", s);
|
|
//~^ to_string_in_format_args
|
|
}
|