<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>E0137 on ErrorVault — Developer Error Code Dictionary</title><link>https://errorvault.dev/tags/e0137/</link><description>Recent content in E0137 on ErrorVault — Developer Error Code Dictionary</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 24 Apr 2026 00:44:04 +0800</lastBuildDate><atom:link href="https://errorvault.dev/tags/e0137/feed.xml" rel="self" type="application/rss+xml"/><item><title>Fix E0137: More Than One Trait Bound for Type</title><link>https://errorvault.dev/rust/rust-e0137-more-than-one-trait-bound/</link><pubDate>Fri, 24 Apr 2026 00:44:04 +0800</pubDate><guid>https://errorvault.dev/rust/rust-e0137-more-than-one-trait-bound/</guid><description>&lt;h2 id="1-symptoms">1. Symptoms&lt;/h2>
&lt;p>When you attempt to compile Rust code that specifies multiple trait bounds incorrectly for a single type parameter, the compiler halts with error E0137. This error manifests with a clear diagnostic message that identifies the problematic type and indicates that only one trait bound is allowed.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>error&lt;span style="color:#ff79c6">[&lt;/span>E0137&lt;span style="color:#ff79c6">]&lt;/span>: more than one trait bound &lt;span style="color:#ff79c6">for&lt;/span> &lt;span style="color:#f1fa8c">`&lt;/span>TypeName&lt;span style="color:#f1fa8c">`&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> --&amp;gt; src/main.rs:5:20
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> |
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#bd93f9">5&lt;/span> | fn process&amp;lt;T: Clone + Display&amp;gt;&lt;span style="color:#ff79c6">(&lt;/span>value: T&lt;span style="color:#ff79c6">)&lt;/span> &lt;span style="color:#ff79c6">{}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> | ^^^^^^^ help: consider joining the trait bounds with a &lt;span style="color:#f1fa8c">`&lt;/span>+&lt;span style="color:#f1fa8c">`&lt;/span>: &lt;span style="color:#f1fa8c">`&lt;/span>Clone + Display&lt;span style="color:#f1fa8c">`&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> |
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ff79c6">=&lt;/span> note: this error is being displayed to you because of user-facing &lt;span style="color:#f1fa8c">`&lt;/span>.into_iter&lt;span style="color:#ff79c6">()&lt;/span>&lt;span style="color:#f1fa8c">`&lt;/span> &lt;span style="color:#8be9fd;font-style:italic">calls&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#ff79c6">=&lt;/span> note: rustc 1.75.0 &lt;span style="color:#ff79c6">(&lt;/span>firm version 3&lt;span style="color:#ff79c6">)&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The compiler output explicitly points to the offending type parameter and shows the duplicate trait bounds. In most cases, the compiler helpfully suggests using the &lt;code>+&lt;/code> operator to combine multiple trait bounds properly.&lt;/p></description></item></channel></rss>