Example (from lib_json):
impl<'a> CharIter<'a> {
pub fn new<'b>( s: &'b str ) -> CharIter<'b> { .. }
..
}
While the warning can be fixed by changing it to pub fn new(s: &'a str) -> CharIter<'a> { .. }
, I am unsure if the lifetime difference is really relevant here.