We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9ca9aa commit 29b7193Copy full SHA for 29b7193
compiler/rustc_hir_analysis/src/check/wfcheck.rs
@@ -1670,6 +1670,7 @@ fn check_method_receiver<'tcx>(
1670
// yet to do: determine whether self_ty is NonNull or Weak, and use
1671
// _HELP_FOR_NONNULL and _HELP_FOR_WEAK as appropriate. No tests yet
1672
// exist for this.
1673
+ // Consider also emitting 'trait not implemented' diagnostics.
1674
let raw_pointer = is_raw_pointer(receiver_ty);
1675
1676
let arbitrary_self_types_pointers_enabled = tcx.features().arbitrary_self_types_pointers();
0 commit comments