rust/tests/ui/dyn-star
Esteban Küber d992d9cd56 On E0308 involving dyn Trait, mention trait objects
When encountering a type mismatch error involving `dyn Trait`, mention
the existence of boxed trait objects if the other type involved
implements `Trait`.

Partially addresses #102629.
2024-01-24 16:32:24 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
align.normal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
align.over_aligned.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
align.rs Enforce that PointerLike requires a pointer-like ABI 2023-04-08 21:11:16 +00:00
box.rs update use of feature flags 2023-12-14 15:22:37 +01:00
check-size-at-cast-polymorphic-bad.current.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-size-at-cast-polymorphic-bad.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-size-at-cast-polymorphic-bad.rs update use of feature flags 2023-12-14 15:22:37 +01:00
check-size-at-cast-polymorphic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
check-size-at-cast.rs Enforce that PointerLike requires a pointer-like ABI 2023-04-08 21:11:16 +00:00
check-size-at-cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-and-static.rs dyn* is a valid const 2023-04-04 00:28:05 +00:00
const-and-static.stderr dyn* is a valid const 2023-04-04 00:28:05 +00:00
const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dispatch-on-pin-mut.rs Remove unnecessary lets and borrowing from Waker::noop() usage. 2024-01-17 12:00:27 -08:00
dispatch-on-pin-mut.run.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dispatch-on-pin-mut.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-unsize-coerce-dyn-star.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-unsize-coerce-dyn-star.run.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dont-unsize-coerce-dyn-star.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
drop.run.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-async-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-star-to-dyn.rs slightly beef up dyn-star-to-dyn test 2023-02-20 15:08:05 +01:00
dyn-star-to-dyn.stderr Allow codegen to unsize dyn* to dyn 2023-01-11 19:52:42 +00:00
dyn-to-rigid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dyn-to-rigid.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-dyn_star.rs Gate all usages of dyn*, even in macros 2023-03-11 21:29:28 +00:00
feature-gate-dyn_star.stderr Bless tests 2024-01-13 12:46:58 -05:00
gated-span.rs Gate all usages of dyn*, even in macros 2023-03-11 21:29:28 +00:00
gated-span.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-102430.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
make-dyn-star.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-explicit-dyn-star-cast.rs Gate all usages of dyn*, even in macros 2023-03-11 21:29:28 +00:00
no-explicit-dyn-star-cast.stderr Bless tests 2024-01-13 12:46:58 -05:00
no-explicit-dyn-star.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-explicit-dyn-star.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-implicit-dyn-star.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-implicit-dyn-star.stderr On E0308 involving dyn Trait, mention trait objects 2024-01-24 16:32:24 +00:00
no-unsize-coerce-dyn-trait.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
no-unsize-coerce-dyn-trait.stderr Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
param-env-region-infer.current.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
param-env-region-infer.rs update use of feature flags 2023-12-14 15:22:37 +01:00
return.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union.rs Unions are not PointerLike 2024-01-07 19:28:00 +00:00
union.stderr Unions are not PointerLike 2024-01-07 19:28:00 +00:00
unsize-into-ref-dyn-star.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsize-into-ref-dyn-star.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
upcast.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
upcast.stderr Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00