☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
raw_ref_op_feature_gate.rs
☽
☼
gcc/testsuite/rust/compile/raw_ref_op_feature_gate.rs
code
plain
raw
1
// { dg-options "-frust-compile-until=lowering" }
2
pub struct Toto {
3
u: usize,
4
}
5
6
pub fn test(mut toto: Toto) {
7
let _a = &raw mut toto.u; //{ dg-error "raw address of syntax is experimental." "" { target *-*-* } }
8
}