blob: 8579593c65c6d7d33a7bb96aa2fdc14898b3b4cb [file] [log] [blame]
#![feature(trivial_bounds)]
trait Project {
type Assoc;
}
fn foo()
where
(): Project,
{
[(); size_of::<<() as Project>::Assoc>()];
//~^ ERROR entering unreachable code
//~| NOTE evaluation of `foo::{constant#0}` failed here
}
fn main() {}