Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 5c6be06

Browse files
KapJIfacebook-github-bot
authored andcommitted
update rust toolchain
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
1 parent 4babc28 commit 5c6be06

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

gazebo_lint/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ repository = "https://github.com/facebookincubator/gazebo_lint"
1111
plugin = true
1212

1313
[dependencies]
14+
rustversion = "1.0"
1415
smallvec = "1.4"

gazebo_lint/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ use rustc_lint::LateLintPass;
7272
use rustc_lint::Lint;
7373
use rustc_lint::LintContext;
7474
use rustc_lint::LintId;
75+
#[rustversion::before(1.64)]
7576
use rustc_middle::ty::fold::TypeFoldable;
77+
#[rustversion::since(1.64)]
78+
use rustc_middle::ty::visit::TypeVisitable;
7679
use rustc_middle::ty::TyKind;
7780
use rustc_span::Span;
7881
use rustc_span::Symbol;

0 commit comments

Comments
 (0)