rust/src/test/run-pass/import-in-block.rs

12 lines
175 B
Rust
Raw Normal View History

use std;
fn main() {
import vec;
import vec::to_mut;
log(debug, vec::len(to_mut([1, 2]/~)));
{
import vec::*;
log(debug, len([2]/~));
}
}