e648adf086
Catch up with `format_args` change Catches up with a change in rust-lang/rust#57537. (Since the optimization is optional, this clippy PR can be merged before the rustc PR.) Happened to fix a bug in `expect_fun_call`, that is the lint ignores more than one arguments to `format`. ``` warning: use of `expect` followed by a function call --> src/main.rs:2:17 | 2 | Some("foo").expect(format!("{} {}", 1, 2).as_ref()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|| panic!("{} {}", 1))` | ```