about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-26 01:42:14 +0000
committerbors <bors@rust-lang.org>2018-06-26 01:42:14 +0000
commitfdd9cdc8792d8fa4a64956c7d3263fa5ce18e335 (patch)
tree34deb6049374a320b66e7ded0ce3704334bfcd32 /src/liballoc/string.rs
parent2a1c4eec40527de45b9d9b81672c8b9220d554fc (diff)
parentcc60e01581d3bb290a2299a6c2474aa29bf6a15f (diff)
downloadrust-fdd9cdc8792d8fa4a64956c7d3263fa5ce18e335.tar.gz
rust-fdd9cdc8792d8fa4a64956c7d3263fa5ce18e335.zip
Auto merge of #50966 - leodasvacas:self-in-where-clauses-is-not-object-safe, r=nikomatsakis
`Self` in where clauses may not be object safe

Needs crater, virtually certain to cause regressions.

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.

Part of #50781.

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