blob: fd4f424dd977cc8c112122d342e1bb7ac0a31875 [file] [log] [blame]
#![feature(generic_const_items)]
#![allow(incomplete_features)]
const NONE<T>: Option<T> = None::<T>;
const IGNORE<T>: () = ();
fn none() {
let _ = NONE; //~ ERROR type annotations needed
}
fn ignore() {
let _ = IGNORE; //~ ERROR type annotations needed
}
fn main() {}