Files
rust/tests/ui/macros/auxiliary/borrowck-error-in-macro.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
163 B
Rust
Raw Normal View History

2025-06-02 10:57:01 +02:00
#[macro_export]
macro_rules! ice {
() => {
fn main() {
let d = &mut 0;
let c = || *d += 1;
c();
}
};
}