<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>E0505 on ErrorVault — Developer Error Code Dictionary</title>
    <link>https://errorvault.dev/tags/e0505/</link>
    <description>Recent content in E0505 on ErrorVault — Developer Error Code Dictionary</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 22 Jul 2026 22:20:04 +0800</lastBuildDate>
    <atom:link href="https://errorvault.dev/tags/e0505/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix E0505: Borrowed Value Does Not Live Long Enough</title>
      <link>https://errorvault.dev/rust/rust-e0505-borrowed-value-does-not-live-long-enough/</link>
      <pubDate>Wed, 22 Jul 2026 22:20:04 +0800</pubDate>
      <guid>https://errorvault.dev/rust/rust-e0505-borrowed-value-does-not-live-long-enough/</guid>
      <description>&lt;h1 id=&#34;fix-e0505-borrowed-value-does-not-live-long-enough&#34;&gt;Fix E0505: Borrowed Value Does Not Live Long Enough&lt;/h1&gt;&#xA;&lt;p&gt;Rust&amp;rsquo;s ownership system ensures memory safety at compile time, and the borrow checker enforces strict rules about how references can be created and used. When the compiler detects that a reference might outlive the data it points to, it raises error E0505. This error represents one of the most common lifetime issues that Rust developers encounter, and understanding its root causes is essential for writing safe, idiomatic Rust code.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
