diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-02-28 03:35:13 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-02-28 03:35:13 +0000 |
| commit | 86945c0a545643457e551a78e8c2a90355d0f17c (patch) | |
| tree | a52ec432a83e44ea8f6930417cf9629e3913269c /tests/ui/traits/solver-cycles/129541-recursive-enum-and-array-impl.rs | |
| parent | f45d4acf1bb635aa010f19f8a749eed8293203b3 (diff) | |
| download | rust-86945c0a545643457e551a78e8c2a90355d0f17c.tar.gz rust-86945c0a545643457e551a78e8c2a90355d0f17c.zip | |
Tweak incorrect ABI suggestion
Provide a better suggestion message, and make the suggestion verbose.
```
error[E0703]: invalid ABI: found `riscv-interrupt`
--> $DIR/riscv-discoverability-guidance.rs:17:8
|
LL | extern "riscv-interrupt" fn isr() {}
| ^^^^^^^^^^^^^^^^^ invalid ABI
|
= note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions
help: there's a similarly named valid ABI `"riscv-interrupt-m"`
|
LL | extern "riscv-interrupt-m" fn isr() {}
| ++
```
Diffstat (limited to 'tests/ui/traits/solver-cycles/129541-recursive-enum-and-array-impl.rs')
0 files changed, 0 insertions, 0 deletions
