commit | 96c6fbe2cc1f620bbd5c52ff2c1e15e2a22cb2ab | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Jan 11 17:51:56 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Jan 11 17:52:01 2018 -0800 |
tree | 228d2be66da970d8532b8f785dce0b954114231b | |
parent | 0f9c5cce0adf906c7a1a51005c07c24d5d4920bf [diff] [blame] |
Allow cond_reduce without a sub parser
diff --git a/src/ty.rs b/src/ty.rs index 61b4a4f..9189f38 100644 --- a/src/ty.rs +++ b/src/ty.rs
@@ -532,7 +532,7 @@ }} ) >> // Just lifetimes like `'a + 'b` is not a TraitObject. - cond_reduce!(at_least_one_type(&bounds), epsilon!()) >> + cond_reduce!(at_least_one_type(&bounds)) >> (TypeTraitObject { dyn_token: dyn_token, bounds: bounds,