diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2024-01-28 00:20:52 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2024-02-04 11:30:59 +0800 |
| commit | 96108c59812bd2a227d6098e0682b2f2811c36c0 (patch) | |
| tree | 4c167a77c915db70b6f1811352451a62aeec0fcc /tests/ui/array-slice-vec/array_const_index-0.rs | |
| parent | c9192be5611576ecb3200636711356061f804995 (diff) | |
| download | rust-96108c59812bd2a227d6098e0682b2f2811c36c0.tar.gz rust-96108c59812bd2a227d6098e0682b2f2811c36c0.zip | |
make effect infer variables suggestable in diagnostics
it works when a non-const context that does not enable effects calls into a const effects-enabled trait. We'd simply suggest the non-const trait bound in this case consistent to its fallback.
Diffstat (limited to 'tests/ui/array-slice-vec/array_const_index-0.rs')
0 files changed, 0 insertions, 0 deletions
