Skip to content

Commit

Permalink
update rust toolchain
Browse files Browse the repository at this point in the history
Summary:
It includes this fix which was backported to 1.62.1.
rust-lang/rust#98950

`2022-08-06` is what will become 1.64.0.

Changes are caused by:
- Split TypeVisitable from TypeFoldable: rust-lang/rust#98206
- Remove `fn backtrace` and replace with usages of provider API: rust-lang/rust#99431

Reviewed By: stepancheg

Differential Revision: D39277984

fbshipit-source-id: 5afc6c2b9e5ee3074ea0ede995868aef12cebf14
  • Loading branch information
KapJI authored and facebook-github-bot committed Sep 8, 2022
1 parent c4dbc53 commit 07d5e3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions buck2_common/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ impl std::error::Error for SharedError {
self.0.source()
}

fn backtrace(&self) -> Option<&std::backtrace::Backtrace> {
Some(self.0.backtrace())
}

fn cause(&self) -> Option<&dyn std::error::Error> {
#[allow(deprecated)]
self.0.cause()
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2022-06-25"
channel = "nightly-2022-08-06"
components = ["llvm-tools-preview","rustc-dev"]

0 comments on commit 07d5e3e

Please sign in to comment.