rust/tests/ui/try-trait
Jacob Pratt 936d76009b
Rollup merge of #126127 - Alexendoo:other-trait-diag, r=pnkfelix
Spell out other trait diagnostic

I recently saw somebody confused about the diagnostic thinking it was suggesting to add an `as` cast. This change is longer but I think it's clearer
2024-06-16 03:41:57 -04:00
..
bad-interconversion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-interconversion.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
issue-32709.rs Move tests 2023-08-28 17:47:37 -03:00
issue-32709.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
option-to-result.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
option-to-result.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
try-as-monad.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-on-option-diagnostics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-on-option-diagnostics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-on-option.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-on-option.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
try-operator-custom.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-operator-on-main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
try-operator-on-main.stderr For E0277 suggest adding Result return type for function which using QuesionMark ? in the body. 2024-06-12 11:33:22 +08:00
try-poll.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yeet-for-option.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
yeet-for-result.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00