Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 275 Bytes
// run-pass
#![allow(unused_variables)]
// pretty-expanded FIXME #23616
macro_rules! vec [
($($e:expr),*) => ({
let mut _temp = ::std::vec::Vec::new();
$(_temp.push($e);)*
_temp
})
];
pub fn main() {
let my_vec = vec![1, 2, 3, 4, 5];
}
You can’t perform that action at this time.