]> git.lizzy.rs Git - rust.git/commit
Add tests for #12470 and #14285
authorEdward Wang <edward.yu.wang@gmail.com>
Mon, 23 Jun 2014 17:42:13 +0000 (01:42 +0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Jun 2014 00:19:19 +0000 (17:19 -0700)
commitbf61bb6b7f6522dc78a7100c18282282206af14a
tree95fbe463428ce1ed956826be9e74f80b0de91fc7
parentd58412bfa13a21718c629407939d08b8fca2edc7
Add tests for #12470 and #14285

The #14869 removed `TraitStore` from `ty_trait` and represented trait
reference as regular `ty_rptr`. An old bug of the missing constraint
upon lifetime parameter of trait reference then is fixed as a side
effect. Adds tests for affected bugs and closes them.

Closes #12470.
Closes #14285.
src/test/compile-fail/issue-14285.rs [new file with mode: 0644]
src/test/compile-fail/isuue-12470.rs [new file with mode: 0644]