Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRegression: a module named `std` has already been imported in this module [E0252] #30089
Comments
sfackler
added
regression-from-stable-to-nightly
A-resolve
labels
Nov 28, 2015
This comment has been minimized.
This comment has been minimized.
|
Replacing the |
This comment has been minimized.
This comment has been minimized.
|
Minimized: mod foo {
use std;
use super::*;
}
fn main() {} Happened between 2ba4460 (2015-11-23 nightly) and a9d15a6 (2015-11-24 nightly), the cluprit of which is likely #29530. cc @nikomatsakis, @jseyfried, perhaps something leaked in by accident? Either that or perhaps that's the wrong PR? |
alexcrichton
added
I-nominated
T-compiler
labels
Nov 30, 2015
This comment has been minimized.
This comment has been minimized.
|
Yes, seems very likely that this is caused by that PR. @jseyfried, please let me know if you have time to look into this. I fear I do not have cycles to spare to find a more tailored fix, so otherwise we may want to just pull the PR and rebase it. That said, the problem is presumably some interaction with the injection of the standard prelude, and I guess the (implicit) |
briansmith commentedNov 28, 2015
See https://travis-ci.org/briansmith/ring/jobs/91080822
Relevant build output:
This code built fine on Nightly last week. It still build correctly on Beta and Release; see https://travis-ci.org/briansmith/ring/builds/91080819.
The code in question is:
You can try it by cloning https://github.com/briansmith/ring, revision ee3ff646962e4a4933eaabb50c76f196521fd592.