File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3794,7 +3794,6 @@ dependencies = [
37943794 " rustc_hir_typeck" ,
37953795 " rustc_incremental" ,
37963796 " rustc_index" ,
3797- " rustc_infer" ,
37983797 " rustc_interface" ,
37993798 " rustc_lexer" ,
38003799 " rustc_lint" ,
@@ -4092,7 +4091,6 @@ version = "0.0.0"
40924091dependencies = [
40934092 " rustc_data_structures" ,
40944093 " rustc_errors" ,
4095- " rustc_fluent_macro" ,
40964094 " rustc_hir" ,
40974095 " rustc_index" ,
40984096 " rustc_macros" ,
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ rustc_hir_pretty = { path = "../rustc_hir_pretty" }
2626rustc_hir_typeck = { path = " ../rustc_hir_typeck" }
2727rustc_incremental = { path = " ../rustc_incremental" }
2828rustc_index = { path = " ../rustc_index" }
29- rustc_infer = { path = " ../rustc_infer" }
3029rustc_interface = { path = " ../rustc_interface" }
3130rustc_lexer = { path = " ../rustc_lexer" }
3231rustc_lint = { path = " ../rustc_lint" }
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ pub static DEFAULT_LOCALE_RESOURCES: &[&str] = &[
126126 rustc_hir_analysis:: DEFAULT_LOCALE_RESOURCE ,
127127 rustc_hir_typeck:: DEFAULT_LOCALE_RESOURCE ,
128128 rustc_incremental:: DEFAULT_LOCALE_RESOURCE ,
129- rustc_infer:: DEFAULT_LOCALE_RESOURCE ,
130129 rustc_interface:: DEFAULT_LOCALE_RESOURCE ,
131130 rustc_lint:: DEFAULT_LOCALE_RESOURCE ,
132131 rustc_metadata:: DEFAULT_LOCALE_RESOURCE ,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ doctest = false
1010# tidy-alphabetical-start
1111rustc_data_structures = { path = " ../rustc_data_structures" }
1212rustc_errors = { path = " ../rustc_errors" }
13- rustc_fluent_macro = { path = " ../rustc_fluent_macro" }
1413rustc_hir = { path = " ../rustc_hir" }
1514rustc_index = { path = " ../rustc_index" }
1615rustc_macros = { path = " ../rustc_macros" }
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ use rustc_macros::Diagnostic;
22use rustc_span:: Span ;
33
44#[ derive( Diagnostic ) ]
5- #[ diag( infer_opaque_hidden_type ) ]
5+ #[ diag( "opaque type's hidden type cannot be another opaque type from the same scope" ) ]
66pub ( crate ) struct OpaqueHiddenTypeDiag {
77 #[ primary_span]
8- #[ label]
8+ #[ label( "one of the two opaque types used here has to be outside its defining scope" ) ]
99 pub span : Span ,
10- #[ note( infer_opaque_type ) ]
10+ #[ note( "opaque type whose hidden type is being assigned" ) ]
1111 pub opaque_type : Span ,
12- #[ note( infer_hidden_type ) ]
12+ #[ note( "opaque type being used as hidden type" ) ]
1313 pub hidden_type : Span ,
1414}
Original file line number Diff line number Diff line change 2222mod errors;
2323pub mod infer;
2424pub mod traits;
25-
26- rustc_fluent_macro:: fluent_messages! { "../messages.ftl" }
You can’t perform that action at this time.
0 commit comments