{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigg7c4stn3kenwnenx27wbvr2yc3ap2zreyivu32kto5mexiopo2m",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miprooo2utk2"
},
"path": "/t/add-new-reserved-lifetime-owned/24129#post_4",
"publishedAt": "2026-04-04T10:01:45.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"Rust Playground"
],
"textContent": "Voldemat:\n\n>\n> impl<'s1, S: AsStr<'s1>> Check<'s1, S> {\n> pub fn clone_to_owned(\n> self: &'s1 Self,\n>\n\nyou are constructing an `&'a Foo<'a>` which is a common mistake, that causes self to be \"borrowed forever\". if you change it to just `self: &Self` it compiles: Rust Playground",
"title": "Add new reserved lifetime: 'owned"
}