about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-08-22 17:06:21 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-08-22 17:13:30 +0800
commit3868f8ad5c2ef77fa823dc17da14ba13c2d508f7 (patch)
treef892f540d59374b87fec1d6b080bb9ab1b8fbff7 /tests/rustdoc-js-std/parser-errors.js
parent8e7cca83344e511e263e91f9539b8d341b2dd2bb (diff)
downloadrust-3868f8ad5c2ef77fa823dc17da14ba13c2d508f7.tar.gz
rust-3868f8ad5c2ef77fa823dc17da14ba13c2d508f7.zip
fix: convert_integer_literal not on selected
`convert_integer_literal` can only convert the first literal,
it is not reasonable to apply it when selected

Example
---

```rust
fn main() {
    $01+1$0;
}
```

**Assist old outputs**:

```
Convert 1 to 0b1
Convert 1 to 0o1
Convert 1 to 0x1
Replace arithmetic with call to checked_*
Replace arithmetic with call to saturating_*
Replace arithmetic with call to wrapping_*
Extract into variable
Extract into constant
Extract into static
Extract into function
```

**Assist this PR outputs**:

```
Replace arithmetic with call to checked_*
Replace arithmetic with call to saturating_*
Replace arithmetic with call to wrapping_*
Extract into variable
Extract into constant
Extract into static
Extract into function
```
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions