summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0620.rs
blob: 2831413eab0fa64b8ffed0dad2579e4bb0c3ab84 (plain)
1
2
3
fn main() {
    let _foo = &[1_usize, 2] as [usize]; //~ ERROR E0620
}