mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-14 14:26:04 +00:00
11 lines
260 B
Rust
11 lines
260 B
Rust
#[macro_use]
|
|
extern crate generic_array as gen_arr;
|
|
|
|
use gen_arr::typenum;
|
|
|
|
#[test]
|
|
fn test_different_crate_name() {
|
|
let _: gen_arr::GenericArray<u32, typenum::U4> = arr![u32; 0, 1, 2, 3];
|
|
let _: gen_arr::GenericArray<u32, typenum::U0> = arr![u32;];
|
|
}
|