diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2024-10-31 11:39:45 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-01-07 16:04:14 +0100 |
| commit | 585c9765a203df7cc7b497d848aae4ba979fcb39 (patch) | |
| tree | 943e153ace484e7a949d86ecce717a534c8f1847 /tests/ui/statics | |
| parent | e7bd340ba41a327510f36eff96776aaba73f0f60 (diff) | |
| download | rust-585c9765a203df7cc7b497d848aae4ba979fcb39.tar.gz rust-585c9765a203df7cc7b497d848aae4ba979fcb39.zip | |
Update tests.
Diffstat (limited to 'tests/ui/statics')
| -rw-r--r-- | tests/ui/statics/uninhabited-static.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/statics/uninhabited-static.rs b/tests/ui/statics/uninhabited-static.rs index a0f83f45079..0f7c5ae6ef4 100644 --- a/tests/ui/statics/uninhabited-static.rs +++ b/tests/ui/statics/uninhabited-static.rs @@ -2,7 +2,7 @@ #![deny(uninhabited_static)] enum Void {} -extern { +extern "C" { static VOID: Void; //~ ERROR static of uninhabited type //~| WARN: previously accepted static NEVER: !; //~ ERROR static of uninhabited type |
