about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-26 22:20:57 -0700
committerGitHub <noreply@github.com>2024-09-26 22:20:57 -0700
commitad3464493d7d04199e926344d854921916fd1637 (patch)
tree3b032f5b0ef5a8f25d2c5b40bbb4f298e6e379b9 /library/std/src/sys/pal/unix/stack_overflow.rs
parent52b31180b2e05b53b1f6a278f39bb4f0e61be62f (diff)
parenteff6d414c05411a0f83d74eb745e951e8bdc9408 (diff)
downloadrust-ad3464493d7d04199e926344d854921916fd1637.tar.gz
rust-ad3464493d7d04199e926344d854921916fd1637.zip
Rollup merge of #130912 - estebank:point-at-arg-type, r=compiler-errors
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