]> git.lizzy.rs Git - rust.git/commit
auto merge of #20290 : jroesch/rust/generalize-impl-bounds, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 15 Jan 2015 01:42:25 +0000 (01:42 +0000)
committerbors <bors@rust-lang.org>
Thu, 15 Jan 2015 01:42:25 +0000 (01:42 +0000)
commit451e134c180e88b06e3b747ed750e4901ca93721
tree16508acfc187613ffb06904a6d511412e552bf9b
parent896cb36ecab3eaeb7f101087e030e43771eca5ca
parent6a66b3227087d3336d8a0e2583dfd35ae93f950b
auto merge of #20290 : jroesch/rust/generalize-impl-bounds, r=nikomatsakis

This should fix both #20020 and #20107. This moves out the code into its own file.

I have a couple concerns that can either be addressed in this PR or in a future one.

- The error reporting for the fulfillment context should be span aware because currently it is attached to the top
  of the file which is less then desirable.
- There is a failure in the test file: run-pass/issue-2611-3.rs, this seems like it should be a failure to me, but I am not sure.

As a nit I'm not enthused about the file name, and am open to better suggestions.

r? @nikomatsakis