diff options
| author | Urgau <urgau@numericable.fr> | 2024-04-07 00:43:00 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-04-07 01:16:45 +0200 |
| commit | c4a97d9407556081c5a8d8927ef86529b3bf4572 (patch) | |
| tree | 9e67d7ac49de968118ae81117ed6785df5c349d6 /tests/ui/macros/macro-error.rs | |
| parent | 3f10032eb04a58d6d54caef0318f705042ca0ba1 (diff) | |
| download | rust-c4a97d9407556081c5a8d8927ef86529b3bf4572.tar.gz rust-c4a97d9407556081c5a8d8927ef86529b3bf4572.zip | |
Unify all the always-false cfgs under the `FALSE` cfg
Diffstat (limited to 'tests/ui/macros/macro-error.rs')
| -rw-r--r-- | tests/ui/macros/macro-error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/macros/macro-error.rs b/tests/ui/macros/macro-error.rs index 59ed79e91f0..4984b92911e 100644 --- a/tests/ui/macros/macro-error.rs +++ b/tests/ui/macros/macro-error.rs @@ -5,5 +5,5 @@ macro_rules! foo { fn main() { foo!(0); // Check that we report errors at macro definition, not expansion. - let _: cfg!(foo) = (); //~ ERROR non-type macro in type position + let _: cfg!(FALSE) = (); //~ ERROR non-type macro in type position } |
