File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ metadata_found_staticlib =
91
91
found staticlib `{ $crate_name } ` instead of rlib or dylib{ $add_info }
92
92
.help = please recompile that crate using --crate-type lib
93
93
94
- metadata_framework_only_windows =
94
+ metadata_raw_dylib_only_windows =
95
95
link kind `raw-dylib` is only supported on Windows targets
96
96
97
97
metadata_global_alloc_required =
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ pub struct LinkFrameworkApple {
142
142
}
143
143
144
144
#[ derive( Diagnostic ) ]
145
- #[ diag( metadata_framework_only_windows , code = E0455 ) ]
146
- pub struct FrameworkOnlyWindows {
145
+ #[ diag( metadata_raw_dylib_only_windows , code = E0455 ) ]
146
+ pub struct RawDylibOnlyWindows {
147
147
#[ primary_span]
148
148
pub span : Span ,
149
149
}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl<'tcx> Collector<'tcx> {
151
151
}
152
152
"raw-dylib" => {
153
153
if !sess. target . is_like_windows {
154
- sess. dcx ( ) . emit_err ( errors:: FrameworkOnlyWindows { span } ) ;
154
+ sess. dcx ( ) . emit_err ( errors:: RawDylibOnlyWindows { span } ) ;
155
155
}
156
156
NativeLibKind :: RawDylib
157
157
}
You can’t perform that action at this time.
0 commit comments