1error[E0263]: lifetime name `'__pin` declared twice in the same scope 2 --> tests/ui/pin_project/overlapping_lifetime_names.rs:4:20 3 | 43 | / pin_project! { //~ ERROR E0263,E0496 54 | | pub struct Foo<'__pin, T> { 6 | | ^^^^^^ declared twice 75 | | #[pin] 86 | | field: &'__pin mut T, 97 | | } 108 | | } 11 | |_- previous declaration here 12 13error[E0263]: lifetime name `'__pin` declared twice in the same scope 14 --> tests/ui/pin_project/overlapping_lifetime_names.rs:4:20 15 | 163 | / pin_project! { //~ ERROR E0263,E0496 174 | | pub struct Foo<'__pin, T> { 18 | | ^^^^^^ declared twice 195 | | #[pin] 206 | | field: &'__pin mut T, 217 | | } 228 | | } 23 | |_- previous declaration here 24 25error[E0263]: lifetime name `'__pin` declared twice in the same scope 26 --> tests/ui/pin_project/overlapping_lifetime_names.rs:4:20 27 | 283 | / pin_project! { //~ ERROR E0263,E0496 294 | | pub struct Foo<'__pin, T> { 30 | | ^^^^^^ declared twice 315 | | #[pin] 326 | | field: &'__pin mut T, 337 | | } 348 | | } 35 | |_- previous declaration here 36 37error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope 38 --> tests/ui/pin_project/overlapping_lifetime_names.rs:3:1 39 | 403 | / pin_project! { //~ ERROR E0263,E0496 414 | | pub struct Foo<'__pin, T> { 42 | | ------ first declared here 435 | | #[pin] 446 | | field: &'__pin mut T, 457 | | } 468 | | } 47 | |_^ lifetime `'__pin` already in scope 48 | 49 = note: this error originates in the macro `$crate::__pin_project_struct_make_proj_method` (in Nightly builds, run with -Z macro-backtrace for more info) 50 51error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope 52 --> tests/ui/pin_project/overlapping_lifetime_names.rs:3:1 53 | 543 | / pin_project! { //~ ERROR E0263,E0496 554 | | pub struct Foo<'__pin, T> { 56 | | ------ first declared here 575 | | #[pin] 586 | | field: &'__pin mut T, 597 | | } 608 | | } 61 | |_^ lifetime `'__pin` already in scope 62 | 63 = note: this error originates in the macro `$crate::__pin_project_struct_make_proj_method` (in Nightly builds, run with -Z macro-backtrace for more info) 64 65error[E0263]: lifetime name `'__pin` declared twice in the same scope 66 --> tests/ui/pin_project/overlapping_lifetime_names.rs:4:20 67 | 683 | / pin_project! { //~ ERROR E0263,E0496 694 | | pub struct Foo<'__pin, T> { 70 | | ^^^^^^ declared twice 715 | | #[pin] 726 | | field: &'__pin mut T, 737 | | } 748 | | } 75 | |_- previous declaration here 76