Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rast | 38 | ||||
| -rw-r--r-- | crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rs | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rast b/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rast new file mode 100644 index 0000000000..bd71c61cad --- /dev/null +++ b/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rast @@ -0,0 +1,38 @@ + [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] "Sized" + [email protected] ")" + [email protected] " " + [email protected] "{" + [email protected] "}" +error 9..24: ambiguous `+` in a type diff --git a/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rs b/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rs new file mode 100644 index 0000000000..670a6f0ea7 --- /dev/null +++ b/crates/syntax/test_data/parser/validation/0261_dangling_impl_undeclared_lifetime.rs @@ -0,0 +1 @@ +fn f(_: &impl 'a + Sized) {}
\ No newline at end of file |