Skip to content

Add regression test for issue #10766#17061

Merged
bors merged 1 commit intorust-lang:masterfrom
nathantypanski:test-borrowck-trait
Sep 9, 2014
Merged

Add regression test for issue #10766#17061
bors merged 1 commit intorust-lang:masterfrom
nathantypanski:test-borrowck-trait

Conversation

@nathantypanski
Copy link
Contributor

This test verifies that casting from the same lifetime on a value
to the same lifetime on a trait succeeds. Closes #10766.

This test verifies that casting from the same lifetime on a value
to the same lifetime on a trait succeeds. Closes rust-lang#10766.
@brson
Copy link
Contributor

brson commented Sep 8, 2014

💌

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 9, 2014
@bors bors merged commit fda2319 into rust-lang:master Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should &'a Value as &'a Trait work?

4 participants