-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in what path is chosen for error messages #45070
Comments
Only two big merges in this timeframe. cc @alexcrichton? |
Sorry I don't know what there may have led to this :( |
@dtolnay I have the impression this is fixed on 1.23, can you confirm? |
Seems like it. Thanks! |
Reopening because while the original code now gives a reasonable error, I am still seeing extern crate serde;
fn main() {
struct S;
S.clone();
}
Adding |
I also see error messages that change when the order of |
#46112 has some more examples of what looks like the same bug. |
Error with rustc 1.21.0-beta.3 (ea1fd7d 2017-09-15):
Error with rustc 1.22.0-nightly (417c738 2017-10-05):
I would expect the error message to show
std::convert::From
, not Serde's re-export at least in code that has nothing to do with Serde.The text was updated successfully, but these errors were encountered: