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
Auto merge of rust-lang#131827 - matthiaskrgr:rollup-umncb57, r=matthiaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#128391 (Change orphan hint from "only" to "any uncovered type inside...")
- rust-lang#131583 (Setting up indirect access to external data for loongarch64-linux-{musl,ohos})
- rust-lang#131595 (rustdoc-JSON: Rename "object safe" to "dyn compatible")
- rust-lang#131748 (cleanup canonical queries)
- rust-lang#131798 (llvm: Tolerate propagated range metadata)
- rust-lang#131815 (compiler: use `is_none_or` where it is clearly better)
- rust-lang#131822 (extract `expr_assign_expected_bool_error`)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardExpand all lines: compiler/rustc_hir_analysis/messages.ftl
+4-2
Original file line number
Diff line number
Diff line change
@@ -356,12 +356,14 @@ hir_analysis_only_current_traits_arbitrary = only traits defined in the current
356
356
357
357
hir_analysis_only_current_traits_foreign = this is not defined in the current crate because this is a foreign trait
358
358
359
-
hir_analysis_only_current_traits_label = impl doesn't use only types from inside the current crate
360
-
361
359
hir_analysis_only_current_traits_name = this is not defined in the current crate because {$name} are always foreign
362
360
363
361
hir_analysis_only_current_traits_note = define and implement a trait or new type instead
364
362
363
+
hir_analysis_only_current_traits_note_more_info = for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
364
+
365
+
hir_analysis_only_current_traits_note_uncovered = impl doesn't have any local type before any uncovered type parameters
366
+
365
367
hir_analysis_only_current_traits_opaque = type alias impl trait is treated as if it were foreign, because its hidden type could be from a foreign crate
366
368
367
369
hir_analysis_only_current_traits_outside = only traits defined in the current crate can be implemented for types defined outside of the crate
0 commit comments