Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rast | 29 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rs | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rast b/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rast new file mode 100644 index 0000000000..98aa862bc8 --- /dev/null +++ b/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rast @@ -0,0 +1,29 @@ + [email protected] "fn" + [email protected] " " + [email protected] "f" + [email protected] "(" + [email protected] "_" + [email protected] ":" + [email protected] " " + [email protected] "&" + [email protected] "impl" + [email protected] " " + [email protected] "'a" + [email protected] ")" + [email protected] " " + [email protected] "{" + [email protected] "}" +error 9..16: At least one trait must be specified diff --git a/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rs b/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rs new file mode 100644 index 0000000000..5b18a54ef5 --- /dev/null +++ b/crates/syntax/test_data/parser/validation/impl_trait_lifetime_only.rs @@ -0,0 +1 @@ +fn f(_: &impl 'a) {}
\ No newline at end of file |