about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2018-11-25 16:14:54 +0200
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2018-12-17 01:59:32 +0200
commit95bec6ed0987227be8228ea87e002a17c1cc8ed6 (patch)
tree56df163cb1f4eae922f76960e855003e1eed46fa /src/test/incremental/thinlto
parenta8a2a887d0a65fff6c777f9bcd7b1c0bdfbbddc0 (diff)
downloadrust-95bec6ed0987227be8228ea87e002a17c1cc8ed6.tar.gz
rust-95bec6ed0987227be8228ea87e002a17c1cc8ed6.zip
trigger unsized coercions keyed on Sized bounds
This PR causes unsized coercions to not be disabled by `$0: Unsize<dyn
Object>` coercion obligations when we have an `$0: Sized` obligation
somewhere.

Note that `X: Unsize<dyn Object>` obligations can't fail *as
obligations* if `X: Sized` holds, so this still maintains some version
of monotonicity (I think that an unsized coercion can't be converted to
no coercion by unifying type variables).

Fixes #49593 (unblocking never_type).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions