Debian Codegraph @

gcc/testsuite/rust/compile/may_dangle.rs

raw
1 // { dg-options "-fsyntax-only" }
2
3 #![feature(dropck_eyepatch)]
4 struct Test<T> {
5 _inner: T,
6 }
7
8 trait Action {}
9
10 unsafe impl<#[may_dangle] T> Action for Test<T> {}