mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
13 lines
201 B
Rust
13 lines
201 B
Rust
//@ known-bug: #138265
|
|
|
|
#![feature(coerce_unsized)]
|
|
#![crate_type = "lib"]
|
|
impl<A> std::ops::CoerceUnsized<A> for A {}
|
|
pub fn f() {
|
|
[0; {
|
|
let mut c = &0;
|
|
c = &0;
|
|
0
|
|
}]
|
|
}
|