rust/compiler/rustc_codegen_ssa/src
bors b15e2c129e Auto merge of #101832 - compiler-errors:dyn-star-plus, r=eholk
Make `dyn*` casts into a coercion, allow `dyn*` upcasting

I know that `dyn*` is likely not going to be a feature exposed to surface Rust, but this makes it slightly more ergonomic to write tests for these types anyways. ... and this was just fun to implement anyways.

1. Make `dyn*` into a coercion instead of a cast
2. Enable `dyn*` upcasting since we basically get it for free
3. Simplify some of the cast checking code since we're using the coercion path now

r? `@eholk` but feel free to reassign
cc `@nikomatsakis` and `@tmandry` who might care about making `dyn*` casts into a coercion
2022-10-15 07:36:38 +00:00
..
back Rollup merge of #102623 - davidtwco:translation-eager, r=compiler-errors 2022-10-12 22:13:23 +05:30
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo Use enum2<_> instead of enum<_> for Cpp-like debuginfo enum type names. 2022-08-12 10:53:07 +02:00
mir Allow dyn* upcasting 2022-10-14 04:43:56 +00:00
traits Remove type argument of array_alloca and rename to byte_array_alloca 2022-10-02 13:42:14 +00:00
base.rs Address nits, add test for implicit dyn-star coercion without feature gate 2022-10-14 05:47:09 +00:00
common.rs rustc_codegen_ssa: derive copy and clone for various enums 2022-05-25 10:34:35 +02:00
errors.rs ADD - implement IntoDiagnostic for thorin::Error wrapper 2022-10-07 10:03:45 -04:00
glue.rs use unchecked mul to compute slice sizes 2022-06-14 17:09:07 -04:00
lib.rs ADD - initial port of link.rs 2022-10-07 10:03:45 -04:00
meth.rs Call destructors when dyn* object goes out of scope 2022-09-12 16:55:57 -07:00
mono_item.rs Add codegen for global_asm! sym operands 2022-04-15 14:36:30 +01:00
target_features.rs Sort target features alphabetically 2022-10-14 22:01:18 +02:00