You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_lint/messages.ftl
+7
Original file line number
Diff line number
Diff line change
@@ -415,6 +415,13 @@ lint_improper_ctypes_union_layout_help = consider adding a `#[repr(C)]` or `#[re
415
415
lint_improper_ctypes_union_layout_reason = this union has unspecified layout
416
416
lint_improper_ctypes_union_non_exhaustive = this union is non-exhaustive
417
417
418
+
lint_incompatible_target_modifiers =
419
+
mixing `{$flag_name_prefixed}` will cause an ABI mismatch
420
+
.note1 = `{$flag_name_prefixed}={$flag_local_value}` in this crate is incompatible with `{$flag_name_prefixed}={$flag_extern_value}` in dependency `{$extern_crate}`
421
+
.help = `{$flag_name_prefixed}` modifies the ABI and Rust crates compiled with different values of this flag cannot be used together safely
422
+
.suggestion = set `{$flag_name_prefixed}=${flag_extern_value}` in this crate or `{$flag_name_prefixed}=${flag_local_value}` in `{$extern_crate}`
423
+
.note2 = alternatively, use `-Cunsafe-allow-abi-mismatch={$flag_name}` to silence this error
424
+
418
425
lint_incomplete_include =
419
426
include macro expected single expression in source
0 commit comments