about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-28 18:33:02 +0000
committerbors <bors@rust-lang.org>2023-03-28 18:33:02 +0000
commit84e42fb363d295c87e9b191b3e2816e25b6cb42e (patch)
tree2b9e435b1cfccf1a3628ff6167c9baabf826eda1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd9821e1d9d036724defca0e7bc8d2037623206ca (diff)
parent3259b48568c4fe19b60a47011c9fe424b707533c (diff)
downloadrust-84e42fb363d295c87e9b191b3e2816e25b6cb42e.tar.gz
rust-84e42fb363d295c87e9b191b3e2816e25b6cb42e.zip
Auto merge of #10484 - Alexendoo:format-args-ast-2, r=Manishearth
Migrate `format_args.rs` to `rustc_ast::FormatArgs`

changelog: none

Part of https://github.com/rust-lang/rust-clippy/issues/10233

Empty precision specifiers are no longer linted as the span for that isn't present in [`FormatOptions`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ast/format/struct.FormatOptions.html)

```rust
format!("{:.}", ...)
```

That could be fixed later with some hackery or a change upstream

r? `@flip1995`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions