<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>E0195 on ErrorVault — Developer Error Code Dictionary</title>
    <link>https://errorvault.dev/tags/e0195/</link>
    <description>Recent content in E0195 on ErrorVault — Developer Error Code Dictionary</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 15 May 2026 12:44:04 +0800</lastBuildDate>
    <atom:link href="https://errorvault.dev/tags/e0195/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix E0195: Lifetime Parameters with Same Name Exist in Different Scopes</title>
      <link>https://errorvault.dev/rust/rust-e0195-lifetime-parameter-name-conflict/</link>
      <pubDate>Fri, 15 May 2026 12:44:04 +0800</pubDate>
      <guid>https://errorvault.dev/rust/rust-e0195-lifetime-parameter-name-conflict/</guid>
      <description>&lt;h2 id=&#34;1-symptoms&#34;&gt;1. Symptoms&lt;/h2&gt;&#xA;&lt;h2 id=&#34;error-e0195-manifests-during-compilation-with-a-clear-diagnostic-message-from-the-rust-compiler&#34;&gt;Error E0195 manifests during compilation with a clear diagnostic message from the Rust compiler:&lt;/h2&gt;&#xA;&lt;p&gt;error[E0195]: lifetime parameters or bounds on method &lt;code&gt;baz&lt;/code&gt; do not match the trait declaration&#xA;&amp;ndash;&amp;gt; src/main.rs:10:5&#xA;|&#xA;5  |     fn baz&amp;lt;&amp;lsquo;a&amp;gt;(&amp;amp;self, x: &amp;amp;&amp;lsquo;a str) -&amp;gt; &amp;amp;&amp;lsquo;a str;&#xA;|        &amp;mdash;&amp;ndash;                              ^&#xA;6  |     fn baz&amp;lt;&amp;lsquo;a&amp;gt;(&amp;amp;self, x: &amp;amp;&amp;lsquo;a str) -&amp;gt; &amp;amp;&amp;lsquo;a str;&#xA;|        &amp;mdash;&amp;ndash;                              ^&#xA;|&#xA;= note: lifetime parameters with same name exist in different scopes: method impl (line 6), trait declaration (line 5)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
