rust/tests/ui/author/macro_in_loop.rs
Yuri Astrakhan d063e09d10 Move uninlined_format_args to style
This lint was downgraded to `pedantic` in part because rust-analyzer was not fully supporting it at the time per #10087. The support has been added over [a year ago](https://github.com/rust-lang/rust-analyzer/issues/11260), so seems like this should be back to style.

Another source of the initial frustration was fixed since then as well - this lint does not trigger by default in case only some arguments can be inlined.
2025-03-25 10:27:20 -04:00

11 lines
181 B
Rust

//@ check-pass
#![feature(stmt_expr_attributes)]
#![allow(clippy::uninlined_format_args)]
fn main() {
#[clippy::author]
for i in 0..1 {
println!("{}", i);
}
}