mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
16 lines
255 B
Rust
16 lines
255 B
Rust
//@ known-bug: unknown
|
|
// see comment on `tests/ui/const-generics/late-bound-vars/simple.rs`
|
|
|
|
#![feature(generic_const_exprs)]
|
|
#![allow(incomplete_features)]
|
|
|
|
fn bug<'a>()
|
|
where
|
|
for<'b> [(); {
|
|
let x: &'b ();
|
|
0
|
|
}]:
|
|
{}
|
|
|
|
fn main() {}
|