Use the same message as type & const generics.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
A lifetime was declared more than once in the same scope.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0263
|
||||
```compile_fail,E0403
|
||||
fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str, z: &'a str) { // error!
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user