1
Fork 0

Make error messages great again (and fix clippy and add test)

This commit is contained in:
Deadbeef 2022-09-21 15:02:15 +00:00
parent 191d3b76db
commit 898c76cd82
10 changed files with 72 additions and 46 deletions

View file

@ -0,0 +1,12 @@
// check-pass
#![feature(const_trait_impl, once_cell)]
use std::sync::LazyLock;
static EXTERN_FLAGS: LazyLock<String> = LazyLock::new(|| {
let x = || String::new();
x()
});
fn main() {}