]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0243.md
Rollup merge of #93556 - dtolnay:trailingcomma, r=cjgillot
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0243.md
1 #### Note: this error code is no longer emitted by the compiler.
2
3 This error indicates that not enough type parameters were found in a type or
4 trait.
5
6 For example, the `Foo` struct below is defined to be generic in `T`, but the
7 type parameter is missing in the definition of `Bar`:
8
9 ```compile_fail,E0107
10 struct Foo<T> { x: T }
11
12 struct Bar { x: Foo }
13 ```