summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0010-teach.rs
blob: fc5dffb37cfe743dac9c2c65c3301dc94f1ae91d (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Z teach

#![feature(box_syntax)]
#![allow(warnings)]

const CON : Box<i32> = box 0; //~ ERROR E0010

fn main() {}