diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-07-20 18:58:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 18:58:17 +0200 |
| commit | 9e197b75f0e5ad17dc1bb1431853bd4df7cff408 (patch) | |
| tree | 68b799e1e2bba41291b34e52e832e7900571c9ce /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 82d9ae9ca1a21ba1fa5648e03395ade87ca762f0 (diff) | |
| parent | f8dfc4bf350bad5140a7d1e7a9030b91dbdc4ce4 (diff) | |
| download | rust-9e197b75f0e5ad17dc1bb1431853bd4df7cff408.tar.gz rust-9e197b75f0e5ad17dc1bb1431853bd4df7cff408.zip | |
Rollup merge of #99480 - miam-miam100:arg-format, r=oli-obk
Diagnostic width span is not added when '0$' is used as width in format strings
When the following code is run rustc does not add diagnostic spans for the width argument. Such spans are necessary for a clippy lint that I am currently writing.
```rust
println!("Hello {1:0$}!", 5, "x");
// ^^
// Should have a span here
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
