☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
dropck_eyepatch_feature_gate.rs
☽
☼
gcc/testsuite/rust/compile/dropck_eyepatch_feature_gate.rs
code
plain
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 *-*-* } }