17 lines
259 B
Rust
17 lines
259 B
Rust
// xfail-fast
|
|
// aux-build:issue-2631-a.rs
|
|
|
|
use req;
|
|
use std;
|
|
|
|
use req::*;
|
|
use std::map::*;
|
|
use std::map::str_hash;
|
|
|
|
fn main() {
|
|
let v = ~[mut @~"hi"];
|
|
let m: req::header_map = str_hash();
|
|
m.insert(~"METHOD", @dvec::from_vec(v));
|
|
request::<int>(m);
|
|
}
|