Debian Codegraph @

gcc/testsuite/rust/compile/dropck_eyepatch_feature_gate.rs

raw
1 // { dg-options "-frust-compile-until=lowering" }
2 struct Test<T> {
3 _inner: T,
4 }
5
6 trait Action {}
7
8 unsafe impl<#[may_dangle] T> Action for Test<T> {} //{ dg-error ".may_dangle. has unstable semantics and may be removed in the future." "" { target *-*-* } }