]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/type.rs
fix internal error for long closure types (#3653)
[rust.git] / tests / source / type.rs
index 55eb05442d65b12ba9c286f1fca7452bc19e3541..27387c5bdcace31c89ef15b40c7ee40c36cc0640 100644 (file)
@@ -83,6 +83,10 @@ impl Future<Item = (), Error = SomeError> + 'a,
     'c {
 }
 
+// #3051
+token![impl];
+token![ impl ];
+
 // #3060
 macro_rules! foo {
     ($foo_api: ty) => {