Files
rust/compiler
Esteban Küber 60b227accc Recognize type Alias = dyn Trait in fn return types
```
error[E0277]: the size for values of type `(dyn Debug + 'static)` cannot be known at compilation time
  --> $DIR/dyn-trait-type-alias-return-type.rs:4:11
   |
LL | fn f() -> T { loop {} }
   |           ^ doesn't have a size known at compile-time
   |
   = help: the trait `Sized` is not implemented for `(dyn Debug + 'static)`
note: this type alias is unsized
  --> $DIR/dyn-trait-type-alias-return-type.rs:1:1
   |
LL | type T = dyn core::fmt::Debug;
   | ^^^^^^
   = note: the return type of a function must have a statically known size
```
2025-12-09 16:46:33 +00:00
..
fix
2025-11-27 17:55:34 +07:00
2025-12-02 00:37:17 +07:00
2025-10-12 08:08:30 +00:00
2025-09-26 17:53:49 +02:00
2025-12-08 00:28:43 +01:00
2025-12-08 00:24:28 +01:00
2025-12-08 00:24:28 +01:00
2025-12-08 00:28:43 +01:00
2025-12-08 00:24:28 +01:00