| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -683/+0 | |
| 2023-01-01 | Use the correct tracking issue for `dyn_star` | Léo Lanteri Thauvin | -10/+10 | |
| 2022-12-14 | Don't bug if we're trying to cast dyn* to a nother type | Michael Goulet | -0/+20 | |
| 2022-12-10 | Introduce `with_forced_trimmed_paths` | Esteban Küber | -1/+1 | |
| 2022-11-24 | Adjust tests | Michael Goulet | -5/+21 | |
| 2022-11-24 | Properly handle `Pin<&mut dyn* Trait>` receiver in codegen | Michael Goulet | -0/+62 | |
| 2022-11-24 | Disable dyn* upcasting | Michael Goulet | -2/+57 | |
| 2022-11-21 | Coercions work now | Eric Holk | -1/+1 | |
| 2022-11-21 | Add a test case for async dyn* traits | Eric Holk | -0/+36 | |
| 2022-11-18 | Auto merge of #104591 - Manishearth:rollup-b3ser4e, r=Manishearth | bors | -0/+115 | |
| Rollup of 8 pull requests Successful merges: - #102977 (remove HRTB from `[T]::is_sorted_by{,_key}`) - #103378 (Fix mod_inv termination for the last iteration) - #103456 (`unchecked_{shl|shr}` should use `u32` as the RHS) - #103701 (Simplify some pointer method implementations) - #104047 (Diagnostics `icu4x` based list formatting.) - #104338 (Enforce that `dyn*` coercions are actually pointer-sized) - #104498 (Edit docs for `rustc_errors::Handler::stash_diagnostic`) - #104556 (rustdoc: use `code-header` class to format enum variants) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-11-18 | Check both align and size in PointerSized | Michael Goulet | -0/+48 | |
| 2022-11-18 | Enforce that dyn* casts are actually pointer-sized | Michael Goulet | -0/+67 | |
| 2022-11-18 | Rollup merge of #103386 - compiler-errors:no-coerceunsized-to-dynstar, r=eholk | Matthias Krüger | -0/+44 | |
| Don't allow `CoerceUnsized` into `dyn*` (except for trait upcasting) This makes sure we don't accidentally allow coercions like `Box<T>` -> `Box<dyn* Trait>`, or in the case of this ICE, `&T` to `&dyn* Trait`. These coercions don't make sense, at least not via the `CoerceUnsized` trait. Fixes #102172 Fixes #102429 | ||||
| 2022-11-16 | Check `dyn*` return type correctly | Michael Goulet | -0/+21 | |
| 2022-11-10 | Regression test for coercion of mut-ref to dyn-star | Michael Goulet | -0/+32 | |
| 2022-11-10 | Don't CoerceUnsized dyn* to dyn* | Michael Goulet | -0/+26 | |
| 2022-11-10 | Don't allow implement CoerceUnsized into dyn-star | Michael Goulet | -0/+18 | |
| 2022-10-28 | Emit proper error when casting to Ddyn-star | Michael Goulet | -0/+58 | |
| 2022-10-14 | Address nits, add test for implicit dyn-star coercion without feature gate | Michael Goulet | -0/+42 | |
| 2022-10-14 | Allow dyn* upcasting | Michael Goulet | -0/+33 | |
| 2022-10-14 | Make dyn* cast into a coercion | Michael Goulet | -6/+7 | |
| 2022-10-04 | Support casting boxes to dyn* | Eric Holk | -0/+17 | |
| 2022-09-13 | Address code review comments | Eric Holk | -2/+7 | |
| 2022-09-12 | Move dyn* tests to their own directory | Eric Holk | -0/+83 | |
| 2022-09-12 | Call destructors when dyn* object goes out of scope | Eric Holk | -1/+1 | |
| 2022-09-12 | dyn* through more typechecking and MIR | Eric Holk | -7/+5 | |
| 2022-09-12 | Typecheck dyn* coercions | Eric Holk | -2/+15 | |
| Also changes things to treat dyn* as a sized type, unlike dyn Trait. | ||||
| 2022-09-12 | Introduce dyn_star feature flag | Eric Holk | -0/+32 | |
| The primary purpose of this commit is to introduce the dyn_star flag so we can begin experimenting with implementation. In order to have something to do in the feature gate test, we also add parser support for `dyn* Trait` objects. These are currently treated just like `dyn Trait` objects, but this will change in the future. Note that for now `dyn* Trait` is experimental syntax to enable implementing some of the machinery needed for async fn in dyn traits without fully supporting the feature. | ||||
