Error messages for ?
are not great
#37671
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
@eddyb says this can be improved by adding
#[rustc_on_unimplemented = "the type
{Self}cannot be used with
?"]
to something (maybe theCarrier
trait.crib off of fmt
cc @jonathandturner @nikomatsakis @nrc
The text was updated successfully, but these errors were encountered: