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
Celina G. Val
2c4923e6bc
Update test output to include check_contracts cfg
...
This is now a valid expected value.
2025-02-03 13:55:15 -08:00
Urgau
c5ea75a5df
Filter well known names from check-cfg diagnostics
2025-01-25 12:27:33 +01:00
Urgau
e8a4792b3e
Make the test cfg a "userspace" check-cfg
2025-01-02 16:49:55 +01:00
Kornel
88b9edc9db
fmt-debug option
...
Allows disabling `fmt::Debug` derive and debug formatting.
2024-08-28 23:32:40 +01:00
Xiretza
2482f3c17c
Convert unexpected_cfg_{name,value} to struct diagnostics
2024-05-21 20:16:39 +00:00
Urgau
f90b15b7fc
Add rustfmt cfg to well known cfgs list
2024-05-05 14:30:35 +02:00
Urgau
517374150c
compiletest: add no-auto-check-cfg directive
...
this directive prevents compiletest from adding any implicit and
automatic --check-cfg arguments
2024-05-04 11:30:38 +02:00
Urgau
a20de73ccf
Move --check-cfg documentation to stable books
2024-04-15 21:49:56 +02:00
Urgau
909fcfcb6a
Stabilize checking of cfgs at compile-time: --check-cfg option
2024-04-15 21:49:55 +02:00
Ben Kimock
a7912cb421
Put checks that detect UB under their own flag below debug_assertions
2024-04-06 11:21:47 -04:00
Guillaume Gomez
33e9fc5d8d
Update ui tests to take into account the new clippy cfg
2024-02-15 14:18:19 +01:00
yukang
c36798357d
Suggest name value cfg when only value is used for check-cfg
2024-01-28 23:25:07 +08:00