about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorleonardo.yvens <leoyvens@gmail.com>2018-05-22 12:09:35 -0300
committerLeonardo Yvens Schwarzstein <leoyvens@gmail.com>2018-06-25 06:56:06 -0300
commit1453b3a67dfe73329e07c17cd07b55bd71d7350b (patch)
treedce085a2168fd11868090576a044d9177a82a45d /src/liballoc
parent5f9c7f9e6d069e62027e168da557625d0b518f3e (diff)
downloadrust-1453b3a67dfe73329e07c17cd07b55bd71d7350b.tar.gz
rust-1453b3a67dfe73329e07c17cd07b55bd71d7350b.zip
`Self` in where clauses may not be object safe
This is virtually certain to cause regressions, needs crater.

In #50781 it was discovered that our object safety rules are not sound because we allow `Self` in where clauses without restrain. This PR is a direct fix to the rules so that we disallow methods with unsound where clauses.

This currently uses hard error to measure impact, but we will want to downgrade it to a future compat error.

Fixes #50781.

r? @nikomatsakis
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions