error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:12:5
   |
LL |     println!("val='{}'", var);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
   |
LL -     println!("val='{}'", var);
LL +     println!("val='{var}'");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:16:9
   |
LL |         panic!("p1 {}", var);
   |         ^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         panic!("p1 {}", var);
LL +         panic!("p1 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:21:9
   |
LL |         panic!("p2 {0}", var);
   |         ^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         panic!("p2 {0}", var);
LL +         panic!("p2 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:26:9
   |
LL |         panic!("p3 {var}", var = var);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         panic!("p3 {var}", var = var);
LL +         panic!("p3 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:38:5
   |
LL |     assert!(var == 1, "p5 {}", var);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -     assert!(var == 1, "p5 {}", var);
LL +     assert!(var == 1, "p5 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:41:5
   |
LL |     debug_assert!(var == 1, "p6 {}", var);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -     debug_assert!(var == 1, "p6 {}", var);
LL +     debug_assert!(var == 1, "p6 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:47:9
   |
LL |         core::panic!("p7 {}", var);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         core::panic!("p7 {}", var);
LL +         core::panic!("p7 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:52:9
   |
LL |         core::panic!("p8 {0}", var);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         core::panic!("p8 {0}", var);
LL +         core::panic!("p8 {var}");
   |

error: variables can be used directly in the `format!` string
  --> tests/ui/uninlined_format_args_panic.rs:57:9
   |
LL |         core::panic!("p9 {var}", var = var);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: change this to
   |
LL -         core::panic!("p9 {var}", var = var);
LL +         core::panic!("p9 {var}");
   |

error: aborting due to 9 previous errors

