serde/test_suite/tests/ui/borrow/duplicate_lifetime.stderr
David Tolnay bbba632ab3
Revert "Ui tests with compile_error resolved at call site"
This reverts commit e77db40b8d55f000c04a5e0a42299d373318e1c3.
2023-06-07 20:50:51 -07:00

6 lines
164 B
Plaintext

error: duplicate borrowed lifetime `'a`
--> tests/ui/borrow/duplicate_lifetime.rs:5:22
|
5 | #[serde(borrow = "'a + 'a")]
| ^^^^^^^^^