rust/src/test/ui/error-codes/E0263.stderr

12 lines
345 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0263]: lifetime name `'a` declared twice in the same scope
--> $DIR/E0263.rs:11:16
|
2018-02-22 18:42:32 -06:00
LL | fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str) {
2018-02-07 21:35:35 -06:00
| -- ^^ declared twice
| |
| previous declaration here
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0263`.