rust/tests/ui/to_string_in_format_args_incremental.rs

9 lines
197 B
Rust
Raw Normal View History

//@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());
}