summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0438.rs
blob: 02898b886c876a1b27e602bfdfa558fc3210139b (plain)
1
2
3
4
5
6
7
8
trait Bar {}

impl Bar for i32 {
    const BAR: bool = true; //~ ERROR E0438
}

fn main () {
}