Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
trait-bounds
/
enum-unit-variant-trait-bound.rs
blob: 91525bc90c4bb03cd830e98ad336a9e6e458cead [
file
] [
log
] [
blame
]
// 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
}