about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-09-27 00:45:02 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-09-27 00:45:02 +0000
commitc7d171d7714e1645c35c81b0631c6aadc969c086 (patch)
tree04b3cef4542041125ff49a631a503296e401d6cf /compiler/rustc_codegen_gcc/tools/generate_intrinsics.py
parent648d024a7859e1ab7fdffe5e419b6e35ccb16a4a (diff)
downloadrust-c7d171d7714e1645c35c81b0631c6aadc969c086.tar.gz
rust-c7d171d7714e1645c35c81b0631c6aadc969c086.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 'compiler/rustc_codegen_gcc/tools/generate_intrinsics.py')
0 files changed, 0 insertions, 0 deletions