Content-Length: 24030 | pFad | https://doc.rust-lang.org/std/iter/../clone/../../../std/../error_codes/./E0203.html

E0203 - Error codes index

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0203

Having duplicate relaxed default bounds is unsupported.

Erroneous code example:

#![allow(unused)]
fn main() {
struct Bad<T: ?Sized + ?Sized>{
    inner: T,
}
}

Here the type parameter T cannot have duplicate relaxed bounds for default trait Sized. This can be fixed by only using one relaxed bound:

#![allow(unused)]
fn main() {
struct Good<T: ?Sized>{
    inner: T
}
}








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/iter/../clone/../../../std/../error_codes/./E0203.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy