]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0263.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / error-codes / E0263.stderr
1 error[E0403]: the name `'a` is already used for a generic parameter in this item's generic parameters
2   --> $DIR/E0263.rs:1:16
3    |
4 LL | fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str) {
5    |        --      ^^ already used
6    |        |
7    |        first use of `'a`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0403`.