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
@@ -414,6 +414,13 @@ lint_improper_ctypes_union_layout_help = consider adding a `#[repr(C)]` or `#[re
414
414
lint_improper_ctypes_union_layout_reason = this union has unspecified layout
415
415
lint_improper_ctypes_union_non_exhaustive = this union is non-exhaustive
416
416
417
+
lint_incompatible_target_modifiers =
418
+
mixing `{$flag_name_prefixed}` will cause an ABI mismatch
419
+
.note1 = `{$flag_name_prefixed}={$flag_local_value}` in this crate is incompatible with `{$flag_name_prefixed}={$flag_extern_value}` in dependency `{$extern_crate}`
420
+
.help = `{$flag_name_prefixed}` modifies the ABI and Rust crates compiled with different values of this flag cannot be used together safely
421
+
.suggestion = set `{$flag_name_prefixed}=${flag_extern_value}` in this crate or `{$flag_name_prefixed}=${flag_local_value}` in `{$extern_crate}`
422
+
.note2 = alternatively, use `-Cunsafe-allow-abi-mismatch={$flag_name}` to silence this error
423
+
417
424
lint_incomplete_include =
418
425
include macro expected single expression in source
0 commit comments