mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
7 lines
185 B
Rust
7 lines
185 B
Rust
![]() |
// Regression test for one part of issue #105306.
|
||
|
|
||
|
fn main() {
|
||
|
let _ = Option::<[u8]>::None;
|
||
|
//~^ ERROR the size for values of type `[u8]` cannot be known at compilation time
|
||
|
}
|