You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extern mod std;
use list = std::map::chained;
use std::list;
fn main() {
let _x: list::T<int, int> = list::mk();
}
This program should get rejected because I've aliased list to another module, but I'm also using std::list, so list is ambiguous. But the type error I actually get is about list::mk not being resolved (which is to say, std::list::mk not being resolved). The failure should happen earlier.
The text was updated successfully, but these errors were encountered:
Test:
This program should get rejected because I've aliased
list
to another module, but I'm also usingstd::list
, solist
is ambiguous. But the type error I actually get is aboutlist::mk
not being resolved (which is to say,std::list::mk
not being resolved). The failure should happen earlier.The text was updated successfully, but these errors were encountered: