We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6319c8f commit e1b11aaCopy full SHA for e1b11aa
src/test/compile-fail/map-types.rs
@@ -6,7 +6,7 @@ import std::map::map;
6
// Test that trait types printed in error msgs include the type arguments.
7
8
fn main() {
9
- let x: map<~str,~str> = map::str_hash::<~str>() as @map::<~str,~str>;
+ let x: map<~str,~str> = map::str_hash::<~str>() as map::<~str,~str>;
10
let y: map<uint,~str> = x;
11
//~^ ERROR mismatched types: expected `@std::map::map<uint,~str>`
12
}
0 commit comments