This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4500,7 +4500,6 @@ dependencies = [
4500
4500
" rustc_abi" ,
4501
4501
" rustc_data_structures" ,
4502
4502
" rustc_hir" ,
4503
- " rustc_macros" ,
4504
4503
" rustc_middle" ,
4505
4504
" rustc_span" ,
4506
4505
" tracing" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ edition = "2024"
8
8
rustc_abi = { path = " ../rustc_abi" , optional = true }
9
9
rustc_data_structures = { path = " ../rustc_data_structures" }
10
10
rustc_hir = { path = " ../rustc_hir" , optional = true }
11
- rustc_macros = { path = " ../rustc_macros" , optional = true }
12
11
rustc_middle = { path = " ../rustc_middle" , optional = true }
13
12
rustc_span = { path = " ../rustc_span" , optional = true }
14
13
tracing = " 0.1"
@@ -18,7 +17,6 @@ tracing = "0.1"
18
17
rustc = [
19
18
" dep:rustc_abi" ,
20
19
" dep:rustc_hir" ,
21
- " dep:rustc_macros" ,
22
20
" dep:rustc_middle" ,
23
21
" dep:rustc_span" ,
24
22
]
Original file line number Diff line number Diff line change @@ -81,14 +81,13 @@ pub enum Reason<T> {
81
81
#[ cfg( feature = "rustc" ) ]
82
82
mod rustc {
83
83
use rustc_hir:: lang_items:: LangItem ;
84
- use rustc_macros:: TypeVisitable ;
85
84
use rustc_middle:: traits:: ObligationCause ;
86
85
use rustc_middle:: ty:: { Const , ParamEnv , Ty , TyCtxt } ;
87
86
88
87
use super :: * ;
89
88
90
89
/// The source and destination types of a transmutation.
91
- #[ derive( TypeVisitable , Debug , Clone , Copy ) ]
90
+ #[ derive( Debug , Clone , Copy ) ]
92
91
pub struct Types < ' tcx > {
93
92
/// The source type.
94
93
pub src : Ty < ' tcx > ,
You can’t perform that action at this time.
0 commit comments