about summary refs log tree commit diff
path: root/tests/ui/impl-trait/impl-trait-in-macro.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-09-29 03:28:52 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-09-29 03:28:52 +0000
commiteceb48534a4fdabfaf378ea02a2c5cd43b8c52a5 (patch)
tree0e6271782f35884bc9869cf32e6275f4e6f9a83d /tests/ui/impl-trait/impl-trait-in-macro.stderr
parent8d72d3e1e96f58ca10059a6bb6e8aecba4a0e9cd (diff)
downloadrust-eceb48534a4fdabfaf378ea02a2c5cd43b8c52a5.tar.gz
rust-eceb48534a4fdabfaf378ea02a2c5cd43b8c52a5.zip
Make replacement suggestion `_` in type verbose
```
error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
  --> $DIR/in-signature.rs:6:21
   |
LL | fn arr_fn() -> [u8; _] {
   |                     ^ not allowed in type signatures
   |
help: replace with the correct return type
   |
LL - fn arr_fn() -> [u8; _] {
LL + fn arr_fn() -> [u8; 3] {
   |
```
Diffstat (limited to 'tests/ui/impl-trait/impl-trait-in-macro.stderr')
0 files changed, 0 insertions, 0 deletions