Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #150 from bltavares/27987
Browse files Browse the repository at this point in the history
Lifetime in trait method declaration affects RFC 1214 checks
  • Loading branch information
steveklabnik committed May 31, 2016
2 parents ba561d7 + 4d7ea6f commit 5746911
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/27987.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub struct S;
impl S {
pub fn f<'a>(&self, f: &'a f32) where u32: PartialEq<&'a f32> {
4==f;
}
}
fn main() {}

0 comments on commit 5746911

Please sign in to comment.