nandi/rustnimpublic Fork 0
b0ccd80a849033974bea0c5eccff995ecb632c3e
Commits
Clone
git clone https://git.rickub.com/nandi/rustnim.git
git clone ssh://git@rickub.com/nandi/rustnim.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Add the differential test runner, and a lowering to measure with it 8ac32af · on b0ccd80a849033974bea0c5eccff995ecb632c3e · nandithebull · 12h ago
904-reject-closure.rs · 5 lines · 130 BRust Blame HistoryRaw
1
2
3
4
5
//@ reject: unsupported expression in value position: closure
fn main() {
    let f = |x: i32| x + 1;
    println!("{}", f(1));
}