From 8198cde13b8dc7c04190e5341bce3f6a0315e99b Mon Sep 17 00:00:00 2001 From: Erlend Tobiassen Date: Tue, 22 Jan 2019 14:32:23 +0100 Subject: Update tests after allowing where predicate to accept types --- crates/ra_syntax/src/grammar/type_params.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/ra_syntax/src/grammar/type_params.rs') diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs index a7eacf97a..369125b39 100644 --- a/crates/ra_syntax/src/grammar/type_params.rs +++ b/crates/ra_syntax/src/grammar/type_params.rs @@ -149,6 +149,11 @@ fn where_predicate(p: &mut Parser) { p.error("expected lifetime or type"); } _ => { + // test where_pred_for + // fn test() + // where + // for<'a> F: Fn(&'a str) + // { } types::type_(p); if p.at(COLON) { -- cgit v1.2.3