E0203 - Error codes index
Description: Book listing all Rust error codes

## 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
    }
    }