diff options
Diffstat (limited to 'crates/ra_syntax/src/ast.rs')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index a42eec91a..15a8279f3 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -287,7 +287,7 @@ where | |||
287 | let pred = predicates.next().unwrap(); | 287 | let pred = predicates.next().unwrap(); |
288 | let mut bounds = pred.type_bound_list().unwrap().bounds(); | 288 | let mut bounds = pred.type_bound_list().unwrap().bounds(); |
289 | 289 | ||
290 | assert_eq!("'a", pred.lifetime().unwrap().text()); | 290 | assert_eq!("'a", pred.lifetime_token().unwrap().text()); |
291 | 291 | ||
292 | assert_bound("'b", bounds.next()); | 292 | assert_bound("'b", bounds.next()); |
293 | assert_bound("'c", bounds.next()); | 293 | assert_bound("'c", bounds.next()); |