1error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope 2 --> $DIR/overlapping_lifetime_names.rs:3:1 3 | 43 | / pin_project! { //~ ERROR E0496 54 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 6 | | ------ first declared here 75 | | #[pin] 86 | | field: &'__pin mut T, 97 | | } 108 | | } 11 | |_^ lifetime `'__pin` already in scope 12 | 13 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 14 15error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope 16 --> $DIR/overlapping_lifetime_names.rs:3:1 17 | 183 | / pin_project! { //~ ERROR E0496 194 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 20 | | ------ first declared here 215 | | #[pin] 226 | | field: &'__pin mut T, 237 | | } 248 | | } 25 | |_^ lifetime `'__pin` already in scope 26 | 27 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 28 29error[E0263]: lifetime name `'__pin` declared twice in the same scope 30 --> $DIR/overlapping_lifetime_names.rs:4:20 31 | 323 | / pin_project! { //~ ERROR E0496 334 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 34 | | ^^^^^^ declared twice 355 | | #[pin] 366 | | field: &'__pin mut T, 377 | | } 388 | | } 39 | |_- previous declaration here 40 41error[E0263]: lifetime name `'__pin` declared twice in the same scope 42 --> $DIR/overlapping_lifetime_names.rs:4:20 43 | 443 | / pin_project! { //~ ERROR E0496 454 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 46 | | ^^^^^^ declared twice 475 | | #[pin] 486 | | field: &'__pin mut T, 497 | | } 508 | | } 51 | |_- previous declaration here 52 53error[E0263]: lifetime name `'__pin` declared twice in the same scope 54 --> $DIR/overlapping_lifetime_names.rs:4:20 55 | 563 | / pin_project! { //~ ERROR E0496 574 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 58 | | ^^^^^^ declared twice 595 | | #[pin] 606 | | field: &'__pin mut T, 617 | | } 628 | | } 63 | |_- previous declaration here 64 65error[E0263]: lifetime name `'__pin` declared twice in the same scope 66 --> $DIR/overlapping_lifetime_names.rs:4:20 67 | 683 | / pin_project! { //~ ERROR E0496 694 | | pub struct Foo<'__pin, T> { //~ ERROR E0263 70 | | ^^^^^^ declared twice 715 | | #[pin] 726 | | field: &'__pin mut T, 737 | | } 748 | | } 75 | |_- previous declaration here 76