Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
crashes
/
136175-2.rs
blob: 28f8ff7fd1cd91298c7fcb130cd3d426bd68088b [
file
] [
log
] [
blame
]
//@ known-bug: #136175
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
trait
Trait
{}
struct
A
<
T
>(
T
)
where
[();
std
::
mem
::
offset_of
!((
T
,),
0
)]:;
fn
main
()
{
let
x
:
A
<
dyn
Trait
>;
}