Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
macros
/
auxiliary
/
borrowck-error-in-macro.rs
blob: 431297bd55f1160e3fd54b1f47f6fcc8cf1d581f [
file
] [
log
] [
blame
] [
edit
]
//@ edition:2015..2021
#[
macro_export
]
macro_rules
!
ice
{
()
=>
{
fn
main
()
{
let
d
=
&
mut
0
;
let
c
=
||
*
d
+=
1
;
c
();
}
};
}