Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
crashes
/
auxiliary
/
overlapping_spans_helper.rs
blob: e449fcd36c3760833815ceea26d8654148e611c2 [
file
] [
log
] [
blame
] [
edit
]
// Auxiliary lib for the issue 147973 regression test with ICEs due to overlapping spans.
#[
macro_export
]
macro_rules
!
identity
{
(
$x
:
ident
)
=>
{
$x
};
}
#[
macro_export
]
macro_rules
!
do_loop
{
(
$x
:
ident
)
=>
{
for
$crate
::
identity
!(
$x
)
in $x
{}
};
}