]> git.lizzy.rs Git - rust.git/commit
Add regression test for issue #10766
authorNathan Typanski <ntypanski@gmail.com>
Sun, 7 Sep 2014 05:31:41 +0000 (01:31 -0400)
committerNathan Typanski <ntypanski@gmail.com>
Sun, 7 Sep 2014 07:59:02 +0000 (03:59 -0400)
commitfda231906834a809a90ff4b78433b291769a2c45
tree2d41a4fe9d31a6627beb1df472806182b800f006
parentc964cb229bd342bdeb0b4506c3a6d32b03e575f6
Add regression test for issue #10766

This test verifies that casting from the same lifetime on a value
to the same lifetime on a trait succeeds. Closes #10766.
src/test/run-pass/borrowck-trait-lifetime.rs [new file with mode: 0644]