aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast.rs')
-rw-r--r--crates/ra_syntax/src/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs
index ab0f44dd2..c81b68d3e 100644
--- a/crates/ra_syntax/src/ast.rs
+++ b/crates/ra_syntax/src/ast.rs
@@ -271,7 +271,7 @@ where
271 let pred = predicates.next().unwrap(); 271 let pred = predicates.next().unwrap();
272 let mut bounds = pred.type_bound_list().unwrap().bounds(); 272 let mut bounds = pred.type_bound_list().unwrap().bounds();
273 273
274 assert_eq!("'a", pred.lifetime_token().unwrap().text()); 274 assert_eq!("'a", pred.lifetime().unwrap().text());
275 275
276 assert_bound("'b", bounds.next()); 276 assert_bound("'b", bounds.next());
277 assert_bound("'c", bounds.next()); 277 assert_bound("'c", bounds.next());