summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0263.stderr
blob: 4dae02b85c36ca82f419080dc24e5e3e54a10a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0263]: lifetime name `'a` declared twice in the same scope
  --> $DIR/E0263.rs:1:16
   |
LL | fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str) {
   |        --      ^^ declared twice
   |        |
   |        previous declaration here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0263`.