diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-09-27 00:45:02 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-09-27 00:45:02 +0000 |
| commit | eff6d414c05411a0f83d74eb745e951e8bdc9408 (patch) | |
| tree | 5ad3aec339b6bc4990d22e86a5256b8ecc192b22 /library/std/src/sys/pal/unix/stack_overflow.rs | |
| parent | 249210e8d86a4de347def1be559dfa79d346cb9f (diff) | |
| download | rust-eff6d414c05411a0f83d74eb745e951e8bdc9408.tar.gz rust-eff6d414c05411a0f83d74eb745e951e8bdc9408.zip | |
On implicit `Sized` bound on fn argument, point at type instead of pattern
Instead of
```
error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time
--> $DIR/issue-59324.rs:23:20
|
LL | fn with_factory<H>(factory: dyn ThriftService<()>) {}
| ^^^^^^^ doesn't have a size known at compile-time
```
output
```
error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time
--> $DIR/issue-59324.rs:23:29
|
LL | fn with_factory<H>(factory: dyn ThriftService<()>) {}
| ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
```
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
