Folkert de Vries
c7c0194d98
move asm parsing code into rustc_parse
2025-05-27 09:44:10 +02:00
Folkert de Vries
e12d675739
delay error for unsupported options
2025-05-18 11:28:31 +02:00
Esteban Küber
f0845adb0c
Show diff suggestion format on verbose replacement
...
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/attempted-access-non-fatal.rs:7:15
|
LL | let _ = 2.l;
| ^
|
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
|
LL - let _ = 2.l;
LL + let _ = 2.0f64;
|
```
2025-02-10 20:21:39 +00:00
Folkert
8419c0956e
stabilize asm_const
2024-08-13 23:18:31 +02:00
Folkert
571f7b6589
improve error message when global asm uses inline asm operands
2024-07-28 15:11:32 +02:00
Folkert
d3858f7465
improve error message when global_asm! uses asm! options
2024-07-25 22:33:52 +02:00
Esteban Küber
cbe75486f7
Account for let foo = expr; to suggest const foo: Ty = expr;
2024-07-11 20:39:24 +00:00
Esteban Küber
b56dc8ee90
Use verbose style when suggesting changing const with let
2024-07-11 20:39:24 +00:00
Gary Guo
4677a71369
Add tests for asm goto
2024-02-24 19:49:16 +00:00
asquared31415
3dc793e625
fix ICE on specific malformed asm clobber_abi
2023-06-16 19:51:01 -04:00