]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #26982 - nham:orphan-explanations, r=Gankro
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 1 Aug 2015 07:01:23 +0000 (12:31 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sat, 1 Aug 2015 07:01:23 +0000 (12:31 +0530)
commit21dd5e62a225f90e4d7a182d8029af5d54222212
tree3c5cfd74db3b2babfaa950bfa213c134d0c87011
parentf50518e05ab1fd7632b83c0c6675ec072d1685ea
parent243982443f0b94c8fb7dca42b7d8f3d5f7f0209f
Rollup merge of #26982 - nham:orphan-explanations, r=Gankro

part of #24407

I'm not sure whether I should be trying to explain the general rule in the E0210 explanation or just point people to the RFC. However, if we go with the latter option I think that the RFC will need to be revised slightly, since it is not quite as gentle as I would like.

Also, the link to RFC 1023 is not the correct one (it should be https://github.com/rust-lang/rfcs/blob/master/text/1023-rebalancing-coherence.md), but the correct one is too long. I'm aware of @michaelsproul's PR https://github.com/rust-lang/rust/pull/26290 from awhile back, but it doesn't seem to be working. Has there not been a new snapshot yet?
src/librustc_typeck/diagnostics.rs