rust/tests/ui/to_string_in_format_args_incremental.rs
2025-02-15 13:38:16 +01:00

9 lines
231 B
Rust

//@compile-flags: -C incremental=target/debug/test/incr
// see https://github.com/rust-lang/rust-clippy/issues/10969
fn main() {
let s = "Hello, world!";
println!("{}", s.to_string());
//~^ to_string_in_format_args
}