-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03) #4061
Conversation
oops, forgot to make it a draft. oh well. |
e43eddc
to
075f302
Compare
It builds now |
@bors r+ |
📌 Commit d618637 has been approved by |
Rustup to rustc 1.36.0-nightly (13fde05 2019-05-03) Trying to deal with changes from rust-lang/rust#60462 Moved from #4060 so everyone can collab on the rustup branch.
☀️ Test successful - checks-travis, status-appveyor |
@@ -213,7 +213,7 @@ pub fn match_path_ast(path: &ast::Path, segments: &[&str]) -> bool { | |||
} | |||
|
|||
/// Gets the definition associated to a path. | |||
pub fn path_to_def(cx: &LateContext<'_, '_>, path: &[&str]) -> Option<def::Def> { | |||
pub fn path_to_res(cx: &LateContext<'_, '_>, path: &[&str]) -> Option<(def::Res)> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops I had forgotten to comment about the strange parens in the return type.
Trying to deal with changes from rust-lang/rust#60462
Moved from #4060 so everyone can collab on the rustup branch.