diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-22 12:18:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 12:18:31 +0200 |
| commit | 707004c55228d155646014f705f6f77d3887fb29 (patch) | |
| tree | 0d39681d120bba1c723ac593ae9771edf0ee8ecc /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 2dc5b602eee35d70e8e6e506a7ea07b6c7e0197d (diff) | |
| parent | 289f46a7f5d02e27b2948eee6879f83427d0199f (diff) | |
| download | rust-707004c55228d155646014f705f6f77d3887fb29.tar.gz rust-707004c55228d155646014f705f6f77d3887fb29.zip | |
Rollup merge of #70970 - eddyb:trait-vs-impl-mismatch, r=oli-obk
Detect mistyped associated consts in `Instance::resolve`. *Based on #71049 to prevent redundant/misleading downstream errors.* Fixes #70942 by refusing to resolve an associated `const` if it doesn't have the same type in the `impl` that it does in the `trait` (which we assume had errored, and `delay_span_bug` guards against bugs).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
