Sign in
rust
/
rust
/
1a7439cc0ff575fd39e71e1519b3f4c80b9140f3
/
.
/
tests
/
ui
/
layout
/
unknown-when-no-type-parameter.rs
blob: 8579593c65c6d7d33a7bb96aa2fdc14898b3b4cb [
file
]
#![
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
()
{}