Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 424 Bytes
// run-pass
// Issue #4036: Test for an issue that arose around fixing up type inference
// byproducts in vtable records.
// pretty-expanded FIXME #23616
#![feature(rustc_private)]
extern crate serialize;
use serialize::{json, Decodable};
pub fn main() {
let json = json::from_str("[1]").unwrap();
let mut decoder = json::Decoder::new(json);
let _x: Vec<isize> = Decodable::decode(&mut decoder).unwrap();
}
You can’t perform that action at this time.