diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-07-24 17:15:36 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-24 17:15:36 +0500 |
| commit | d636a6590ce1429ff011e04bb0b4d393dc382226 (patch) | |
| tree | 61a0e867f983df1630c3a986097d75fdc7e37812 /tests/ui/const-generics/vec-macro-in-static-array.rs | |
| parent | 3c30dbbe31bfbf6029f4534170165ba573ff0fd1 (diff) | |
| download | rust-d636a6590ce1429ff011e04bb0b4d393dc382226.tar.gz rust-d636a6590ce1429ff011e04bb0b4d393dc382226.zip | |
moved 35 tests to organized locations
Diffstat (limited to 'tests/ui/const-generics/vec-macro-in-static-array.rs')
| -rw-r--r-- | tests/ui/const-generics/vec-macro-in-static-array.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/const-generics/vec-macro-in-static-array.rs b/tests/ui/const-generics/vec-macro-in-static-array.rs new file mode 100644 index 00000000000..9f1fc42774f --- /dev/null +++ b/tests/ui/const-generics/vec-macro-in-static-array.rs @@ -0,0 +1,6 @@ +// Used to cause ICE + +static VEC: [u32; 256] = vec![]; +//~^ ERROR mismatched types + +fn main() {} |
