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
Using import globbing in a test module results in a very confusing error.
Code
#![feature(globs)]mod test {usesuper::*;#[test]fntest(){}}
Output
$ rustc --test test.rs
test.rs:4:9: 4:18 error: import conflicts with type in this module
test.rs:4 use super::*;
^~~~~~~~~
test.rs:1:1: 1:1 note: note conflicting type here
test.rs:1 #![feature(globs)]
^
error: aborting due to previous error
After some digging, it turns out the conflict is on __test_reexports. I plan to submit a PR to at least print the name of the conflicting import in the above error message so there's something to go on.