Better group RFC ui tests together
This commit is contained in:
parent
7452822843
commit
9d3482c403
543 changed files with 145 additions and 145 deletions
12
tests/ui/rfcs/rfc-2632-const-trait-impl/nested-closure.rs
Normal file
12
tests/ui/rfcs/rfc-2632-const-trait-impl/nested-closure.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
// check-pass
|
||||
|
||||
#![feature(const_trait_impl, lazy_cell)]
|
||||
|
||||
use std::sync::LazyLock;
|
||||
|
||||
static EXTERN_FLAGS: LazyLock<String> = LazyLock::new(|| {
|
||||
let x = || String::new();
|
||||
x()
|
||||
});
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue