Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
proc-macro
/
auxiliary
/
issue-66286.rs
blob: a317e68a3d7f0965179930b4594dea222d37fc82 [
file
] [
log
] [
blame
]
extern
crate proc_macro
;
use
proc_macro
::
TokenStream
;
#[
proc_macro_attribute
]
pub
fn
vec_ice
(
_attr
:
TokenStream
,
input
:
TokenStream
)
->
TokenStream
{
// This redundant convert is necessary to reproduce ICE.
input
.
into_iter
().
collect
()
}