rust/tests/ui/to_string_in_format_args_incremental.rs
2023-08-11 14:02:28 +00:00

9 lines
197 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());
}