]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0263.md
bb4da43b3f58bd5e212dfbbe0b58aeb2c6230d0a
[rust.git] / src / librustc_error_codes / error_codes / E0263.md
1 A lifetime name cannot be declared more than once in the same scope. For
2 example:
3
4 ```compile_fail,E0263
5 // error, lifetime name `'a` declared twice in the same scope
6 fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str) { }
7 ```