blob: 751ba1cb8c70cf6f3b12bfef4b5604dd7700baff (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ compile-flags: -Znext-solver
//@ check-pass
#![feature(const_trait_impl)]
const fn opaque() -> impl Sized {}
fn main() {
let mut x = const { opaque() };
x = opaque();
}
|