]> git.lizzy.rs Git - rust.git/commit
Fix lifetime error to print `'a` instead of `&'a`
authorP1start <rewi-github@whanau.org>
Wed, 21 May 2014 03:28:40 +0000 (15:28 +1200)
committerP1start <rewi-github@whanau.org>
Fri, 23 May 2014 06:22:48 +0000 (18:22 +1200)
commite6b23da5a25150ecf078d9c402b699c62541c9bd
tree266a68eafc8f28497602664d9cb0409116ead6e0
parent50b26df59ef848756645157cb6cf17f1e6cff1dc
Fix lifetime error to print `'a` instead of `&'a`

This changes certain error messages about lifetimes so that they display
lifetimes without an `&`.

Fixes #10291.
src/librustc/util/ppaux.rs
src/test/compile-fail/issue-10291.rs [new file with mode: 0644]