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