<commit_before>use std;
import std::map;
import std::map::hashmap;
import std::map::map;

// Test that trait types printed in error msgs include the type arguments.

fn main() {
    let x: map<~str,~str> = map::str_hash::<~str>() as @map::<~str,~str>;
    let y: map<uint,~str> = x;
    //~^ ERROR mismatched types: expected `@std::map::map<uint,~str>`
}<commit_msg>test: Fix parsing problem in map-types.rs<commit_after>use std;
import std::map;
import std::map::hashmap;
import std::map::map;

// Test that trait types printed in error msgs include the type arguments.

fn main() {
    let x: map<~str,~str> = map::str_hash::<~str>() as map::<~str,~str>;
    let y: map<uint,~str> = x;
    //~^ ERROR mismatched types: expected `@std::map::map<uint,~str>`
}
{'fraction_non_alphanumeric': 0.19235836627140976, 'fraction_numerical': 0.0, 'mean_word_length': 4.846153846153846, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5541030', 'n_tokens_mistral': 275, 'n_tokens_neox': 264, 'n_words': 79}