about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-22 12:18:31 +0200
committerGitHub <noreply@github.com>2020-04-22 12:18:31 +0200
commit707004c55228d155646014f705f6f77d3887fb29 (patch)
tree0d39681d120bba1c723ac593ae9771edf0ee8ecc /src/libstd/sys/unix/stack_overflow.rs
parent2dc5b602eee35d70e8e6e506a7ea07b6c7e0197d (diff)
parent289f46a7f5d02e27b2948eee6879f83427d0199f (diff)
downloadrust-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