Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) #18046
Conversation
highfive
commented
Aug 11, 2017
|
Heads up! This PR modifies the following files:
|
|
@bors-servo r+ |
|
|
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18046) <!-- Reviewable:end -->
| @@ -206,7 +206,7 @@ impl<'a, 'b, 'tcx> visit::Visitor<'tcx> for FnDefVisitor<'a, 'b, 'tcx> { | |||
| fn visit_pat(&mut self, pat: &'tcx hir::Pat) { | |||
| let cx = self.cx; | |||
|
|
|||
| if let hir::PatKind::Binding(hir::BindingMode::BindByValue(_), _, _, _) = pat.node { | |||
| if let hir::PatKind::Binding(hir::BindingAnnotation::Unannotated, _, _, _) = pat.node { | |||
This comment has been minimized.
This comment has been minimized.
mbrubeck
Aug 11, 2017
Contributor
This should also check BindingAnnotation::Mutable which is used for mut x bindings.
This is also susceptible to false positives once "default binding modes" is implemented (rust-lang/rust#42640); we should probably add a fixme comment and/or file a bug about that.
This comment has been minimized.
This comment has been minimized.
|
|
| @@ -15,6 +15,9 @@ opt-level = 3 | |||
| # lto = false | |||
|
|
|||
| [patch.crates-io] | |||
| # FIXME: https://github.com/servo/servo/issues/18044 | |||
| xcb = {git = "https://github.com/servo/rust-xcb", rev = "servo_issue18044_do_not_remove"} | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SimonSapin
Aug 13, 2017
Author
Member
This Cargo.toml is not "top-level" in Gecko, so that section is ignored. Which doesn’t matter because xcb is not in Gecko’s dependency graph anyway.
|
Testing with a temporary branch from upstream, do not merge as-is. rtbo/rust-xcb#40 (comment) @bors-servo try |
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18046) <!-- Reviewable:end -->
|
|
b112f63
to
3a9f2d5
|
@bors-servo r=emilio |
|
|
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18046) <!-- Reviewable:end -->
|
|
|
Fixed another warning-as-error in code that was added since this PR was first opened. @bors-servo r=emilio |
|
|
Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18046) <!-- Reviewable:end -->
|
|
|
@bors-servo retry #17168 |
|
|
|
|
SimonSapin commentedAug 11, 2017
•
edited
This change is