blob: 67e26f5663f412ed5fd18167e7fcf3607ab82c43 [file] [log] [blame]
// Test that we can't use another type in place of !
#![feature(never_type)]
#![deny(warnings)]
fn main() {
let x: ! = "hello"; //~ ERROR mismatched types
}