Skip to content

Commit e1b11aa

Browse files
committed
test: Fix parsing problem in map-types.rs
1 parent 6319c8f commit e1b11aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/map-types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import std::map::map;
66
// Test that trait types printed in error msgs include the type arguments.
77

88
fn main() {
9-
let x: map<~str,~str> = map::str_hash::<~str>() as @map::<~str,~str>;
9+
let x: map<~str,~str> = map::str_hash::<~str>() as map::<~str,~str>;
1010
let y: map<uint,~str> = x;
1111
//~^ ERROR mismatched types: expected `@std::map::map<uint,~str>`
1212
}

0 commit comments

Comments
 (0)