Update pin-project-lite to 0.2.16 Test: m Change-Id: I99e3f53a183145b3b58b7c7e2afe366ff8d9de99
diff --git a/crates/pin-project-lite/.android-checksum.json b/crates/pin-project-lite/.android-checksum.json index 1832f1d..de6210e 100644 --- a/crates/pin-project-lite/.android-checksum.json +++ b/crates/pin-project-lite/.android-checksum.json
@@ -1 +1 @@ -{"package":null,"files":{".cargo-checksum.json":"edeedfad6ff89efdb853f8676d1d3f453524ecd80e59e2b7d480d7103d24ca7d","Android.bp":"10a84b518dcfa172f94a9f14c67838754d072501894d67b499ad3c119b89eb1c","CHANGELOG.md":"861a56232aa2aae47637e440b7242738b5dc906f35b56a14a2d56482afabc0a9","Cargo.toml":"1ce4634d64a20710602e4e66f6b3a009292646bef72221f395ee2cd60329aad4","LICENSE":"83ecae571fc46eed7fa5cfb5e930b6b1dd0a6d79c24912fecacc955318987b3d","LICENSE-APACHE":"83ecae571fc46eed7fa5cfb5e930b6b1dd0a6d79c24912fecacc955318987b3d","LICENSE-MIT":"38620a3cfaeec97a9197e8c39e436ea7f0bc86699b1f1c35f1aa41785b6d4eac","METADATA":"9efad21e8e8e28a1009bdb593c0fef66cf21ce4a412e1ce1959f34258de4b5f2","MODULE_LICENSE_APACHE2":"0d6f8afa3940b7f06bebee651376d43bc8b0d5b437337be2696d30377451e93a","README.md":"615f1135d0a22ad0204fcb44f36e4bd0f4200ac6f1b1c16d09586057058dc486","TEST_MAPPING":"3a59053b725fc10646541d412127125a53c7b78e607a733de7034b9dd0dd2dcf","cargo_embargo.json":"1c412d446965f40b1f2eb1d39291bb0e0732cc3b9c5fb36737f432d930e23c6e","src/lib.rs":"191bab0798250f0e727301ad1cf11e7e973c2d24162ccb893aae998968b33e44","tests/auxiliary/mod.rs":"b9123395fed2c3dadfa0305d42345a4bcb9cb67d3dfe9cbde23b381341829378","tests/compiletest.rs":"5d782c030d298dfcb7f94c9df2549dcc54df4ef1a1bd8be034c767d13ac31310","tests/drop_order.rs":"0b6c5232c99aee274d18cc00f0f4688cd962f28ba9f2463fe1353c0ca0c1e358","tests/expand/default/enum.expanded.rs":"2c9fc23eb9ad1f1c832643c2efe7d0532b85888eaba3b1f69cfe605ae3301a6c","tests/expand/default/enum.rs":"9e6341518300a75d3fab84009f989c844c10b2ec9410909c2515a9a89bc0a2bc","tests/expand/default/struct.expanded.rs":"5ea9628c5ec0ed5f0258213d68297b16a1a8bc1fe326b010f5228abd86bf6c57","tests/expand/default/struct.rs":"1301d6c330c6591f867c8064822894bc5d48ad39fdce4638c6a15e4d08c37fc1","tests/expand/multifields/enum.expanded.rs":"ee283cc26483792e365b597e5feffe0606599bf0cd35375472234b7ebea5ff47","tests/expand/multifields/enum.rs":"7c4961b7f7ee7e8424e2e70374984b0559664f9f3212bcb05696c3bacdf539a2","tests/expand/multifields/struct.expanded.rs":"04784b6a22463fa22a8c41e0cdfbef203c68bd412e7f149859db532553a89234","tests/expand/multifields/struct.rs":"992dcf6b86157cea1f1bac72e5dd285b70d841046fc09b98ef32843af9baffb3","tests/expand/naming/enum-all.expanded.rs":"2c9fc23eb9ad1f1c832643c2efe7d0532b85888eaba3b1f69cfe605ae3301a6c","tests/expand/naming/enum-all.rs":"9e6341518300a75d3fab84009f989c844c10b2ec9410909c2515a9a89bc0a2bc","tests/expand/naming/enum-mut.expanded.rs":"86f444d7e8ebf87067de4eb065e79d03eb8401b0a84c09da62541c68be82b21a","tests/expand/naming/enum-mut.rs":"15bd5b05ab4abea3e9c58d3c97eadfff3e2f336658c8c8d7bfed29bb6cb17027","tests/expand/naming/enum-none.expanded.rs":"80f89ac4178910e2a248106808c5ddbe8541d9cf52baca41f8fb31eec03a81d4","tests/expand/naming/enum-none.rs":"ed209be3443497c3d6e47726ca24253aa91ae1907ff0a8bdcce75a34bd5b0777","tests/expand/naming/enum-ref.expanded.rs":"c7be5ec61f8289729788429d17b19734d792b5db2aa46a6ab2fefe82e6c3d1d1","tests/expand/naming/enum-ref.rs":"1ab02ef239b5162eb830d2dec5d16ff4f95cbb688f237f9b8c36c89adb99fba4","tests/expand/naming/struct-all.expanded.rs":"c63c1b03dd9fefd3146ceca1b9ac3a87f2a244ca22747c8953a47d7c5b78a9b0","tests/expand/naming/struct-all.rs":"940e60e1b9a35e4cae29d143fc258794a0eaffd25066be823fc2916756c18ee7","tests/expand/naming/struct-mut.expanded.rs":"0dda121cd3be2bf035041ac3360a2498a81f6c7f420f3f1218c7e56b57c633f8","tests/expand/naming/struct-mut.rs":"9e5cbf70ab0e7ad1682dc971b528fb3bc96b45b3086392842a2cf2d78ffecba2","tests/expand/naming/struct-none.expanded.rs":"5ea9628c5ec0ed5f0258213d68297b16a1a8bc1fe326b010f5228abd86bf6c57","tests/expand/naming/struct-none.rs":"1301d6c330c6591f867c8064822894bc5d48ad39fdce4638c6a15e4d08c37fc1","tests/expand/naming/struct-ref.expanded.rs":"0e1f9e3108fb25e971926a7d3360f62259ca286de8f2bd514d19518640045c31","tests/expand/naming/struct-ref.rs":"d1294ae61b439b0b3aadb0b40528b8d9f94881a30539b68234b80df5e51d64a7","tests/expand/not_unpin/enum.expanded.rs":"355387fca8ef817a736f4a86a8b048e42bf96fe28aad071fb48caec980233e3d","tests/expand/not_unpin/enum.rs":"191352cd03e7a532be4639d28eb4e0a5a73865ce923e1c0a21401cb4a4c55c1b","tests/expand/not_unpin/struct.expanded.rs":"d7465185c3328affcef459a6b6edbac5319a7d3c21f24ec104bb65290ad643b3","tests/expand/not_unpin/struct.rs":"fad586a4a105b64375127f6dfcdee8026795112d8dfcbcdb496930e78bf7e22a","tests/expand/pinned_drop/enum.expanded.rs":"14823c89cb39bad0342a814151688f9ae44e6d20da704bdf9844d15f6b2ce233","tests/expand/pinned_drop/enum.rs":"378fa2c60f3e4f76354641e005a7d85d76a966a4d6ab456ed14463c57680a0f4","tests/expand/pinned_drop/struct.expanded.rs":"99f48024333fde1b202d1bb29b663c205bd6310d854335fba6a63d0e4e91df07","tests/expand/pinned_drop/struct.rs":"446abeed04cf533c8ca8bd2caa9647f443874cdd2ed86bf125c2c67aeb349a3f","tests/expand/pub/enum.expanded.rs":"9fb953bddfbad4d4e7013d5005dd95cbb84eda817cbc6c95d6da28fdb90c0872","tests/expand/pub/enum.rs":"1bafd1b6c800def9c7b1c0efb57f2aefb8305192324d5314594c53110dfbe7fd","tests/expand/pub/struct.expanded.rs":"cd736caa5c3abc0d36c1a569c8dcc54d9ac1ebccfc354cff909dcb7458737dca","tests/expand/pub/struct.rs":"343fa27a94ed011fc26bd97ae7a4b673b2f5a8fb560ebec1bf66847cf9906eb9","tests/expandtest.rs":"887e324f6173b55f2ef70105aced9dedaf68888a7025f6375742dbc8640e9a86","tests/include/basic.rs":"42f25555c556af51a73dbc7177478f5794de468ed5f3338ee89fbc68f3f1e0ec","tests/proper_unpin.rs":"88ea8e48fe02b1f0a0feef5e22b1c66d5aa357ec5fdef6c64ef63333668cec00","tests/test.rs":"72c3cda31bb40d987cb44736eb721d0371dca0c77e0128894924ed89467f63b7","tests/ui/pin_project/conflict-drop.rs":"bbb43d4661d07c788e20415fa1f692f30e3d21d20a21dd5b41c616d5e94417d5","tests/ui/pin_project/conflict-drop.stderr":"d07fe5978baced640d867d9ee5180d87e772f8dd784c550697e0aff5532cb756","tests/ui/pin_project/conflict-unpin.rs":"29556f97618552512cf8f96000a533593c2d8a7aba0b1db43a1fb0a475e5e235","tests/ui/pin_project/conflict-unpin.stderr":"bc050d2c91992c82bd07146e1554c3ab988c209207d24e98557b0fd048c5dea4","tests/ui/pin_project/invalid-bounds.rs":"1f11784a3e7a1a09d7a1e661fe52869f26e59bdd0955f57753f7faaaa0253cef","tests/ui/pin_project/invalid-bounds.stderr":"1ae0967a7c1399047b92062c68f72b82d5cb758a3dc9050e70fbcae6f7d660d5","tests/ui/pin_project/invalid.rs":"52458fe9d97a19b37503374a2cdc048391e3cf22a2296b32e26dc103ea916c5d","tests/ui/pin_project/invalid.stderr":"0eabecbd93628b7db7bdaa093ac583f544b9d6775562d704859804a87594b102","tests/ui/pin_project/negative_impls_stable.rs":"c885486321b2597dd4ce6b081b6a5223c5792e4b0b9005ece326f416b4c43124","tests/ui/pin_project/negative_impls_stable.stderr":"6a32ebaffb04a8baf4b9115750b6a629db3c7b714afdb56a8cd348165db7a5e5","tests/ui/pin_project/overlapping_lifetime_names.rs":"e982b3522ff740554d652aea18f243541ba96197fa6258dbcead296c7af36064","tests/ui/pin_project/overlapping_lifetime_names.stderr":"64dec85f37923d2c2fbbebd4a7e56f79d5c7dc4d551daeaf451d3805c19eed9b","tests/ui/pin_project/overlapping_unpin_struct.rs":"ca3f206c0375a1007f2e5adcb3e9f62b0b5681db503f2edaf3ca95f97874638c","tests/ui/pin_project/overlapping_unpin_struct.stderr":"906a3342f3637f128f6113d0a4f61533d26d961e4eb8bb1f48e67dcb39cc2b6e","tests/ui/pin_project/packed.rs":"de3d2400582c3f9a605cdbbc6af4bf8ce24de6e4d0e91ffe0c202747df84d9c0","tests/ui/pin_project/packed.stderr":"3dbc000b874047c948b95e6994264556a8e6380c0dbbef7342ebb49dc3c74386","tests/ui/pin_project/unpin_sneaky.rs":"64837c6f6018fe1e21732942481ee601d1c609d68ac486f557327466c7de860c","tests/ui/pin_project/unpin_sneaky.stderr":"9215699280f8e54adfd35e94fd4b2dddeed0a40f960a248d9a7a59d18c0c8d78","tests/ui/pin_project/unsupported.rs":"7d5c54f06ba524bbedcd94f1507f173f8bcf30126904b5e3dd495098a2df3170","tests/ui/pin_project/unsupported.stderr":"55e7cd3eeeddd80bb17e550b687ed9b305195e4302e7f4a52c6d1c4291b61438","tests/ui/pinned_drop/call-drop-inner.rs":"b98e2df3523acb40dc2e0ab0b6b114b71c48f5b65e481f8e82af0efe272ae376","tests/ui/pinned_drop/call-drop-inner.stderr":"8a65e819f3d0f2d4b2b467bfb7473b4ccace15d34f69f4cc1d5e4cb82df9c3cc","tests/ui/pinned_drop/conditional-drop-impl.rs":"aa8516686209f3e2cdefe2790f76fa96b4366ee827377a3c6a8273756b0ffd53","tests/ui/pinned_drop/conditional-drop-impl.stderr":"80ef024c48aee4f1d1c7adbd8b495689038a069176341143cd7dae77416288e3"}} \ No newline at end of file +{"package":null,"files":{".cargo-checksum.json":"83bd6cb70e149cf3a8cfb864f4a95a7226f8667a75f3df4480f2438e4f6d8644","Android.bp":"1fb2382d51d1dcc3273860284d315ad6b531f9cf526990abee3832a54a7116e7","CHANGELOG.md":"2ef1ed4532f5ef0cf895258c16a12773e65c65472793d58da426a6981d4660c3","Cargo.toml":"48b78f121cb24f0d13568ff95ed296bc1539cdae4907e742b5ca192c4622b80e","LICENSE":"83ecae571fc46eed7fa5cfb5e930b6b1dd0a6d79c24912fecacc955318987b3d","LICENSE-APACHE":"83ecae571fc46eed7fa5cfb5e930b6b1dd0a6d79c24912fecacc955318987b3d","LICENSE-MIT":"38620a3cfaeec97a9197e8c39e436ea7f0bc86699b1f1c35f1aa41785b6d4eac","METADATA":"c2ffa82f9c32252f4a64a129006e8808cc7d4bf396503a4f1750f44b62fbaef8","MODULE_LICENSE_APACHE2":"0d6f8afa3940b7f06bebee651376d43bc8b0d5b437337be2696d30377451e93a","README.md":"615f1135d0a22ad0204fcb44f36e4bd0f4200ac6f1b1c16d09586057058dc486","TEST_MAPPING":"3a59053b725fc10646541d412127125a53c7b78e607a733de7034b9dd0dd2dcf","cargo_embargo.json":"1c412d446965f40b1f2eb1d39291bb0e0732cc3b9c5fb36737f432d930e23c6e","src/lib.rs":"0725cfc5f81418033908d454143e076889471b019906125c1174d59be7334b7f","tests/auxiliary/mod.rs":"b9123395fed2c3dadfa0305d42345a4bcb9cb67d3dfe9cbde23b381341829378","tests/compiletest.rs":"5d782c030d298dfcb7f94c9df2549dcc54df4ef1a1bd8be034c767d13ac31310","tests/drop_order.rs":"0b6c5232c99aee274d18cc00f0f4688cd962f28ba9f2463fe1353c0ca0c1e358","tests/expand/default/enum.expanded.rs":"e528827e887699e64c9a9f8a9a6a37946a7c4d4b34bc1cc14c9d61c449234b36","tests/expand/default/enum.rs":"9e6341518300a75d3fab84009f989c844c10b2ec9410909c2515a9a89bc0a2bc","tests/expand/default/struct.expanded.rs":"b7342bba128d556fa5e8f7a66246fff0922d42bc86c87dfa1428b83f6ab265f6","tests/expand/default/struct.rs":"1301d6c330c6591f867c8064822894bc5d48ad39fdce4638c6a15e4d08c37fc1","tests/expand/multifields/enum.expanded.rs":"2cdd95a6ae71a3e64d4c11a0a457ab57effda06ca439cfc968876460f67453dd","tests/expand/multifields/enum.rs":"7c4961b7f7ee7e8424e2e70374984b0559664f9f3212bcb05696c3bacdf539a2","tests/expand/multifields/struct.expanded.rs":"ccce9bea205c5c8d350734d45e4570f801e1192cfc6e91565190dfb0b32b2774","tests/expand/multifields/struct.rs":"992dcf6b86157cea1f1bac72e5dd285b70d841046fc09b98ef32843af9baffb3","tests/expand/naming/enum-all.expanded.rs":"e528827e887699e64c9a9f8a9a6a37946a7c4d4b34bc1cc14c9d61c449234b36","tests/expand/naming/enum-all.rs":"9e6341518300a75d3fab84009f989c844c10b2ec9410909c2515a9a89bc0a2bc","tests/expand/naming/enum-mut.expanded.rs":"fb5a83f01d4fd32a263f6faaff49709b167bc226bef8da189224b07ff2aa751e","tests/expand/naming/enum-mut.rs":"15bd5b05ab4abea3e9c58d3c97eadfff3e2f336658c8c8d7bfed29bb6cb17027","tests/expand/naming/enum-none.expanded.rs":"f15e6119c369efd800eea66c2dbb76bf2ef9af1f4a135f22ad08dd7390b28517","tests/expand/naming/enum-none.rs":"ed209be3443497c3d6e47726ca24253aa91ae1907ff0a8bdcce75a34bd5b0777","tests/expand/naming/enum-ref.expanded.rs":"43737c667c18f0ef2fdfbf22455ed9ed3c311cf07fac0882108e91a5f3206e2b","tests/expand/naming/enum-ref.rs":"1ab02ef239b5162eb830d2dec5d16ff4f95cbb688f237f9b8c36c89adb99fba4","tests/expand/naming/struct-all.expanded.rs":"e507892f996e35c4b3f2a43158a7f85acf62cea193ae2c3f7b02e4e4abf38088","tests/expand/naming/struct-all.rs":"940e60e1b9a35e4cae29d143fc258794a0eaffd25066be823fc2916756c18ee7","tests/expand/naming/struct-mut.expanded.rs":"3387fd4066bc7077d14a2894e0b1c4463bc1bff425eb18040203bc422a843237","tests/expand/naming/struct-mut.rs":"9e5cbf70ab0e7ad1682dc971b528fb3bc96b45b3086392842a2cf2d78ffecba2","tests/expand/naming/struct-none.expanded.rs":"b7342bba128d556fa5e8f7a66246fff0922d42bc86c87dfa1428b83f6ab265f6","tests/expand/naming/struct-none.rs":"1301d6c330c6591f867c8064822894bc5d48ad39fdce4638c6a15e4d08c37fc1","tests/expand/naming/struct-ref.expanded.rs":"4a8cf3efbf5b18df2261d6efae3eda6f92582d93df5fed3134411a283774d46a","tests/expand/naming/struct-ref.rs":"d1294ae61b439b0b3aadb0b40528b8d9f94881a30539b68234b80df5e51d64a7","tests/expand/not_unpin/enum.expanded.rs":"a6c1cccf9cbfada41ce3b431e62ea5541a2e2f3079a754049df78c2607c1effc","tests/expand/not_unpin/enum.rs":"191352cd03e7a532be4639d28eb4e0a5a73865ce923e1c0a21401cb4a4c55c1b","tests/expand/not_unpin/struct.expanded.rs":"661a80a511b288b91f0fa2a6fa2b491c5d6500f0e1a04873f7ef61c253c9d79c","tests/expand/not_unpin/struct.rs":"fad586a4a105b64375127f6dfcdee8026795112d8dfcbcdb496930e78bf7e22a","tests/expand/pinned_drop/enum.expanded.rs":"42b7c6a397f190324b8083dfa1406643b78f5206403a6f68f83805d94aac512e","tests/expand/pinned_drop/enum.rs":"378fa2c60f3e4f76354641e005a7d85d76a966a4d6ab456ed14463c57680a0f4","tests/expand/pinned_drop/struct.expanded.rs":"de45b9e8719532594aa988e8fa7f1770ea9572c4b3d2322b611f542d7256c335","tests/expand/pinned_drop/struct.rs":"446abeed04cf533c8ca8bd2caa9647f443874cdd2ed86bf125c2c67aeb349a3f","tests/expand/pub/enum.expanded.rs":"0d83bb5704bea464def70f7861ac7b9eaab447b3f167943da9cdda31212ffa07","tests/expand/pub/enum.rs":"1bafd1b6c800def9c7b1c0efb57f2aefb8305192324d5314594c53110dfbe7fd","tests/expand/pub/struct.expanded.rs":"01f7d9ba3e09b157741180fc5d850e431cb8bfd10d86cf596e58ff558fdddffc","tests/expand/pub/struct.rs":"343fa27a94ed011fc26bd97ae7a4b673b2f5a8fb560ebec1bf66847cf9906eb9","tests/expandtest.rs":"887e324f6173b55f2ef70105aced9dedaf68888a7025f6375742dbc8640e9a86","tests/include/basic.rs":"38ef55361232a25110502f561bc0e7f3b1a0a61f908f9a4f7001ecf0007e5cf5","tests/proper_unpin.rs":"88ea8e48fe02b1f0a0feef5e22b1c66d5aa357ec5fdef6c64ef63333668cec00","tests/test.rs":"72c3cda31bb40d987cb44736eb721d0371dca0c77e0128894924ed89467f63b7","tests/ui/not_unpin/conflict-unpin.rs":"bc7374abc78df1c07f9b7ddb7156fa75b48134722d1757ac4ac3f430e2ba37fe","tests/ui/not_unpin/conflict-unpin.stderr":"6795b29010938b1cb69695563649f5cff0b58f7c401409b55d022a6738072ca0","tests/ui/not_unpin/negative_impls_stable.rs":"e2609b2328d579529e139b8cdddff162183ae1a1394546577940328ab24f4707","tests/ui/not_unpin/negative_impls_stable.stderr":"0f2ee20f30c4a87cb0db4a81406cd532cb8dda2f3531fbc18dc9b0b4fb5f9292","tests/ui/pin_project/conflict-drop.rs":"bbb43d4661d07c788e20415fa1f692f30e3d21d20a21dd5b41c616d5e94417d5","tests/ui/pin_project/conflict-drop.stderr":"a7240c240893f07b4e51ee15ff81747718ce9dbc3dd4a24bbbcd50d514ed5bef","tests/ui/pin_project/conflict-unpin.rs":"29556f97618552512cf8f96000a533593c2d8a7aba0b1db43a1fb0a475e5e235","tests/ui/pin_project/conflict-unpin.stderr":"843e78172b7d5bab5451b5f06bf095ea035cd2c9121c4a263f710158aa26ac67","tests/ui/pin_project/invalid-bounds.rs":"1f11784a3e7a1a09d7a1e661fe52869f26e59bdd0955f57753f7faaaa0253cef","tests/ui/pin_project/invalid-bounds.stderr":"28c5a38fd54a2e221eadc44002bed1f9221db01a21b5cb04770a86a9ef0b352b","tests/ui/pin_project/invalid.rs":"52458fe9d97a19b37503374a2cdc048391e3cf22a2296b32e26dc103ea916c5d","tests/ui/pin_project/invalid.stderr":"ae5f133bb2e8b6ff2304f472f4329a14485a3386418d5db5038d87547aaa35a7","tests/ui/pin_project/negative_impls_stable.rs":"c885486321b2597dd4ce6b081b6a5223c5792e4b0b9005ece326f416b4c43124","tests/ui/pin_project/negative_impls_stable.stderr":"229d76dc40acf079f629c3cb0c4c72969e34181e378b0d2c3365e4900ba84270","tests/ui/pin_project/overlapping_lifetime_names.rs":"e982b3522ff740554d652aea18f243541ba96197fa6258dbcead296c7af36064","tests/ui/pin_project/overlapping_lifetime_names.stderr":"64dec85f37923d2c2fbbebd4a7e56f79d5c7dc4d551daeaf451d3805c19eed9b","tests/ui/pin_project/overlapping_unpin_struct.rs":"ca3f206c0375a1007f2e5adcb3e9f62b0b5681db503f2edaf3ca95f97874638c","tests/ui/pin_project/overlapping_unpin_struct.stderr":"c1afb6a627d124b2622fe55a565f56ced810754d179d0bdaff335442b017b6b6","tests/ui/pin_project/packed.rs":"de3d2400582c3f9a605cdbbc6af4bf8ce24de6e4d0e91ffe0c202747df84d9c0","tests/ui/pin_project/packed.stderr":"f83eeaaf783f0608f1734d3142887f91e581afebaae354d7c0876a4ebb893c86","tests/ui/pin_project/unpin_sneaky.rs":"64837c6f6018fe1e21732942481ee601d1c609d68ac486f557327466c7de860c","tests/ui/pin_project/unpin_sneaky.stderr":"9215699280f8e54adfd35e94fd4b2dddeed0a40f960a248d9a7a59d18c0c8d78","tests/ui/pin_project/unsupported.rs":"7d5c54f06ba524bbedcd94f1507f173f8bcf30126904b5e3dd495098a2df3170","tests/ui/pin_project/unsupported.stderr":"bceb640990f26afb871f6f2d0d842fa95f35f32fc78af5062da3e22d76b237cd","tests/ui/pinned_drop/call-drop-inner.rs":"b98e2df3523acb40dc2e0ab0b6b114b71c48f5b65e481f8e82af0efe272ae376","tests/ui/pinned_drop/call-drop-inner.stderr":"42ae7cf805d69a9c47ac49cb2d1f67e909f8ee7b372aba1834ef21963fe28d17","tests/ui/pinned_drop/conditional-drop-impl.rs":"aa8516686209f3e2cdefe2790f76fa96b4366ee827377a3c6a8273756b0ffd53","tests/ui/pinned_drop/conditional-drop-impl.stderr":"c773115ea0e7414e012d905196c0c4807b609a92ba9d2cedf5d310880c9afa98"}} \ No newline at end of file
diff --git a/crates/pin-project-lite/.cargo-checksum.json b/crates/pin-project-lite/.cargo-checksum.json index 12a71fb..1e7a0e4 100644 --- a/crates/pin-project-lite/.cargo-checksum.json +++ b/crates/pin-project-lite/.cargo-checksum.json
@@ -1 +1 @@ -{"files":{"CHANGELOG.md":"ce90bf658911da3fc5c7b16b4f0ec16a0f73910f234037500ca62074e2cbe877","Cargo.toml":"49a816e2857280a1a7cfb3796b0d12147dc45ee62a57b6811daaca96f5b25480","LICENSE-APACHE":"0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","README.md":"11841d1d294b58cb7c77b561fa5c3de1e71f32a347b73637e36f69ff32adf55b","src/lib.rs":"da067d2f204533733f06d06b567bfcc7ee6664c03e67a40402e0fc04856ee1b7","tests/auxiliary/mod.rs":"52a78b77be05c67737c56865fbce4477eaacc6482d6377af2a5822f05a2ce061","tests/compiletest.rs":"48cfd92c7271345d57a6c222a7a61e00449f38e6ba379130813c45b31a5589c9","tests/drop_order.rs":"9b13b6461e44be1c1beca6ec47387de83efcb988326e4ff832183b8fad17a3f4","tests/expand/default/enum.expanded.rs":"eb1b44354e8c6accfcab7fd5326f6a09e4e89205494981b71ab90e59f65b7359","tests/expand/default/enum.rs":"ebe6b6403e35459420f6fe979243c382972d2d582376d69f6c630ab5ba2599b5","tests/expand/default/struct.expanded.rs":"8fcd5e14e7f1e3c267adb258cbdd64b751ab1396cf8f65c5bbf7697f26893f62","tests/expand/default/struct.rs":"05767cd68ec5cddc481cff5ad677b5146f7d6fd1effcf1ff131d24c334d85032","tests/expand/multifields/enum.expanded.rs":"5e328b5aee4ef5c5e4c56b6e741a5aa13a4786e444b2968c2022202094702b89","tests/expand/multifields/enum.rs":"d38eb301c86307edbf5cb07ed434b64a10a68aaef32dfb8b15029b5cc5586b0b","tests/expand/multifields/struct.expanded.rs":"7f6bfdf010bf514f2cecd8c679cbd74db721a8eb99cc093759d460c18ce911b7","tests/expand/multifields/struct.rs":"1fe2b911e8782eaac5952d9e0914473d46d82db45b1da859bdc6b8dc3978e549","tests/expand/naming/enum-all.expanded.rs":"eb1b44354e8c6accfcab7fd5326f6a09e4e89205494981b71ab90e59f65b7359","tests/expand/naming/enum-all.rs":"ebe6b6403e35459420f6fe979243c382972d2d582376d69f6c630ab5ba2599b5","tests/expand/naming/enum-mut.expanded.rs":"874e1ddd948d33993c772dd4e890aa3ca41f08f83630cbb568fbd3191e14cd0b","tests/expand/naming/enum-mut.rs":"bf215d055b29a7f9fdb84cabf34576d9dec8e87c33cebe2b553d1fe5e5cb0882","tests/expand/naming/enum-none.expanded.rs":"c771bbd9970684224cb64f4111801d14fd10e7da2a202fef9c366ab390a01c69","tests/expand/naming/enum-none.rs":"115968816e1a1a6b3634b8594dde4815d4641d817d69ebdd90879b96a8a2808e","tests/expand/naming/enum-ref.expanded.rs":"598894365be54d3678b6cd23a102cad9d9141a9ea4206ad30459743ec4fe9d5a","tests/expand/naming/enum-ref.rs":"e09ce2ca812b9fcf7dc59b486e5b50b84db08860a2ceda63ba094d7351bb391f","tests/expand/naming/struct-all.expanded.rs":"021112da5dff423ac628100260a2ee6aeeec5c63dbb68d168042b0e9d55b7afc","tests/expand/naming/struct-all.rs":"0d6b64bc687fbc19329a5558461329e3d2cfa367ff8adb7be76efe2d3160d33e","tests/expand/naming/struct-mut.expanded.rs":"1b3ae70bcd56a8665550953b3d998a34ca92a55de6612db111590bbdad5b02d0","tests/expand/naming/struct-mut.rs":"36edd8db816c122c80ccb139b4305cad8edfdf9b7ee4aebacafa1180613a5075","tests/expand/naming/struct-none.expanded.rs":"8fcd5e14e7f1e3c267adb258cbdd64b751ab1396cf8f65c5bbf7697f26893f62","tests/expand/naming/struct-none.rs":"05767cd68ec5cddc481cff5ad677b5146f7d6fd1effcf1ff131d24c334d85032","tests/expand/naming/struct-ref.expanded.rs":"093fb921ac0aeaf4bb641f1cc48157102b6a4638b36ddf82637a4ca4a0b8ec65","tests/expand/naming/struct-ref.rs":"dd249875f962d16dd9ec821acf0c2b5c1ed0ed05569f6e874ccd5caca2759acf","tests/expand/not_unpin/enum.expanded.rs":"c71d04b6c6ed0c334724b395e44679111703adaf19f3d697f5bfce58f8313cfc","tests/expand/not_unpin/enum.rs":"c65aac4d2083e83d2dfc3bec8ce243e3e9169ef5f986f077f0a8b4226d39f7c3","tests/expand/not_unpin/struct.expanded.rs":"e3bb42319076fa8ecfec3e47356bb5afc95da5454467a2b0b471f76ced0f284f","tests/expand/not_unpin/struct.rs":"99d77727393e4a050d2ceb99710172dfdd13dfcb6e6416f63de39e5df3a9f03f","tests/expand/pinned_drop/enum.expanded.rs":"abad8810838dc856024cb4d9e5d3b41da482c19633c6b64ca667c1edeb64e7b2","tests/expand/pinned_drop/enum.rs":"8f590791cb4693bb077c562f0d93128f9452e6a5f60c631b5fd624a221883ebd","tests/expand/pinned_drop/struct.expanded.rs":"daf6bcd2276853546c151f09de2b4433d885a75e7deb0ec0ece51fe6e55e9f61","tests/expand/pinned_drop/struct.rs":"8da271d7d3182b33be297d985a1e3b57d6067406db21eca8ac2c448ef1a0869a","tests/expand/pub/enum.expanded.rs":"045c0a21bad8a63c9846749d9ba3a8335508284e227209726735c17c84aa27ac","tests/expand/pub/enum.rs":"fdbd806e92cfad4e67737d1f782544aa4e3116bae702161c43b5c22bfbf3a208","tests/expand/pub/struct.expanded.rs":"6560a3e6447885d2d7d6a4bdbb8c3c4f550cf4079d261371c7c8c4183ef41172","tests/expand/pub/struct.rs":"05cb3f03ef9801fecf0a7c86bbd236c97218b34ac01ee507cb7de9a78efaeffa","tests/expandtest.rs":"a4336ab879d79824ab3144ea385a7a00ba77604c3b6639ae53b6283850b421df","tests/include/basic.rs":"271a8c75e2e937d8ffcaa8c43fdf051c5cdf86c1b6b8c216ce0b4ad37977c571","tests/proper_unpin.rs":"83790eb38ae2fd5aed97fc67da79d91c1071f08d1e5aaef0c71e65d8b5767403","tests/test.rs":"37faf4f378b43c58f7aad09b05bcc520dcfd058be85c3bd0da93623139d48e01","tests/ui/pin_project/conflict-drop.rs":"a1964fa136080cc354479ff55b8428e5fa79305681fb2475cc37d6071cd64112","tests/ui/pin_project/conflict-drop.stderr":"ab20853a39525cdb5532a2aa51950339b8f51e9b6e7c72487e0739f1876fc4de","tests/ui/pin_project/conflict-unpin.rs":"37e7b2f9ab1be70d0521c9dbbc954067f22a2321511e008f0f72e13d0edb4afe","tests/ui/pin_project/conflict-unpin.stderr":"c55767dc44c46179fefacc99e261477ce3a3cb759daa21559d9267fb103c3c17","tests/ui/pin_project/invalid-bounds.rs":"4068e272a4f5d44851e0901dd6cfa806ead000c2e1a507a2b42be51d26d17056","tests/ui/pin_project/invalid-bounds.stderr":"da18e686a0dd677dc53ee9be2aa7588da7077cc158d41958ddca7fc4cd1d7404","tests/ui/pin_project/invalid.rs":"1c84cc089623dd31f483011ed6543f169af341b028a212fcf00146bc96dd792f","tests/ui/pin_project/invalid.stderr":"3a194617321918aca05a3e12e10c2f98f196fce50ef340a9d648d6c71af14b68","tests/ui/pin_project/negative_impls_stable.rs":"1e70055fbec4bc0a53454fd93a0663f8785440d37dcf359ab29958d97fd51e9d","tests/ui/pin_project/negative_impls_stable.stderr":"19ea9df3c7d76dddd169f081755098764ed12b5139bf22cd012017ef46466524","tests/ui/pin_project/overlapping_lifetime_names.rs":"ac9c29b389e8e067e9e384cf04be69c0e5bb862cf373de0e3b4296fe2007809b","tests/ui/pin_project/overlapping_lifetime_names.stderr":"1df727ff5129e07c4c213352bc18dec9390a562726186596c07d4cc38a2f114a","tests/ui/pin_project/overlapping_unpin_struct.rs":"cb3d6d4087b8b4c917bc71e55764775f6bb018a77cda5c6b726afacd66789859","tests/ui/pin_project/overlapping_unpin_struct.stderr":"1f236a6d235432a624258ff85faf8c3e5472652154fd35f688340f74d4105b8b","tests/ui/pin_project/packed.rs":"6a24ac14e61e5d3e3b495f49d226318ec500e5aa46f34acf8e4f3e0827bd9604","tests/ui/pin_project/packed.stderr":"15ed6f57e7d582a0476f25e7247c078f619f255a33ac9caed127181b2d81f4dc","tests/ui/pin_project/unpin_sneaky.rs":"6e6385e067679c3bf5233163b3fa99ff2fc28bcb93fe594a5c987c0db7c0eaa6","tests/ui/pin_project/unpin_sneaky.stderr":"d2b305d2ee117a4734390fbd6d9b9c6214443b61cdc15bef44ef6789bc66352a","tests/ui/pin_project/unsupported.rs":"3ad5f584f9e56be3573133fba026a7bb378595d0a4b7b1bcbb6b78e37cef20a7","tests/ui/pin_project/unsupported.stderr":"2270c873047b1039ca9d0c4a7ac914e2e9b7d4bc365b54b48cc6a7d80b524df6","tests/ui/pinned_drop/call-drop-inner.rs":"0618b60a450c99b5953b302e26c68df1abe7632af3d9baf3639eb60091e4ff4e","tests/ui/pinned_drop/call-drop-inner.stderr":"0a938f3a3f640872ae3dc86bdc9d558503d501381f9cbf9bf8fffa8ec87ee6d7","tests/ui/pinned_drop/conditional-drop-impl.rs":"df03f38b2a331f339af2734fdd4ad2f637b2e2189d9928599adebe04ebee517f","tests/ui/pinned_drop/conditional-drop-impl.stderr":"568146640b57700c470fc94db12768b1b4bf6f4d7aa14d8f8bd807d7eef0b2ef"},"package":"915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"} \ No newline at end of file +{"files":{"CHANGELOG.md":"ed6040767b0917706393024e79dec1461c1fe9984329915e416226c3701f2a57","Cargo.toml":"21af3f4e9564a78293aa3e71bd146510a31c818c9cb78619b789c51dc45fa638","LICENSE-APACHE":"0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","README.md":"11841d1d294b58cb7c77b561fa5c3de1e71f32a347b73637e36f69ff32adf55b","src/lib.rs":"56accfe9d4ea6f09162478aabebb055f75a94714bc5163c467a59cd18335845b","tests/auxiliary/mod.rs":"52a78b77be05c67737c56865fbce4477eaacc6482d6377af2a5822f05a2ce061","tests/compiletest.rs":"48cfd92c7271345d57a6c222a7a61e00449f38e6ba379130813c45b31a5589c9","tests/drop_order.rs":"9b13b6461e44be1c1beca6ec47387de83efcb988326e4ff832183b8fad17a3f4","tests/expand/default/enum.expanded.rs":"a0e001a28bd060f5091a977141eddfe169b2e1ebffe4b180e3af20b6837b4f02","tests/expand/default/enum.rs":"ebe6b6403e35459420f6fe979243c382972d2d582376d69f6c630ab5ba2599b5","tests/expand/default/struct.expanded.rs":"437332ba78e77ddf56431f897f2032994654a8d0a958bc97fb155072282c91ae","tests/expand/default/struct.rs":"05767cd68ec5cddc481cff5ad677b5146f7d6fd1effcf1ff131d24c334d85032","tests/expand/multifields/enum.expanded.rs":"f6ed5344acfb0ebcd55cbe0e9a70bedad50815e2f540729f1ca59bb33e77b463","tests/expand/multifields/enum.rs":"d38eb301c86307edbf5cb07ed434b64a10a68aaef32dfb8b15029b5cc5586b0b","tests/expand/multifields/struct.expanded.rs":"7257c732191d5dd697ddf7939d24f5600bda10cc72f80c92c1217b3209832dff","tests/expand/multifields/struct.rs":"1fe2b911e8782eaac5952d9e0914473d46d82db45b1da859bdc6b8dc3978e549","tests/expand/naming/enum-all.expanded.rs":"a0e001a28bd060f5091a977141eddfe169b2e1ebffe4b180e3af20b6837b4f02","tests/expand/naming/enum-all.rs":"ebe6b6403e35459420f6fe979243c382972d2d582376d69f6c630ab5ba2599b5","tests/expand/naming/enum-mut.expanded.rs":"72712b60b635d79ff6d53dcefac952335fc7b2c1befd245f122921b23a7bfa9e","tests/expand/naming/enum-mut.rs":"bf215d055b29a7f9fdb84cabf34576d9dec8e87c33cebe2b553d1fe5e5cb0882","tests/expand/naming/enum-none.expanded.rs":"6c00c1ab0d340fe72ea6c2fe502073ad74c6801250a6261d7cd3612a315ae798","tests/expand/naming/enum-none.rs":"115968816e1a1a6b3634b8594dde4815d4641d817d69ebdd90879b96a8a2808e","tests/expand/naming/enum-ref.expanded.rs":"fa708877f09333c49c6fc5c101ff0d5c70a1372f7ee6d4830939ce5ff197ac48","tests/expand/naming/enum-ref.rs":"e09ce2ca812b9fcf7dc59b486e5b50b84db08860a2ceda63ba094d7351bb391f","tests/expand/naming/struct-all.expanded.rs":"fdfdb4d9c696ff9103cdbdea350dbe0dd2b40d5680e19295747bb167f3791b94","tests/expand/naming/struct-all.rs":"0d6b64bc687fbc19329a5558461329e3d2cfa367ff8adb7be76efe2d3160d33e","tests/expand/naming/struct-mut.expanded.rs":"d7f0c80f787de540c97faed814c51efd66d08b0e5bb8db3185a923f1bfdbf19f","tests/expand/naming/struct-mut.rs":"36edd8db816c122c80ccb139b4305cad8edfdf9b7ee4aebacafa1180613a5075","tests/expand/naming/struct-none.expanded.rs":"437332ba78e77ddf56431f897f2032994654a8d0a958bc97fb155072282c91ae","tests/expand/naming/struct-none.rs":"05767cd68ec5cddc481cff5ad677b5146f7d6fd1effcf1ff131d24c334d85032","tests/expand/naming/struct-ref.expanded.rs":"8c5d5efc6f18f08c84c977d8b4e8f2e3505a75a198c418cf0c60cd7b51d2024b","tests/expand/naming/struct-ref.rs":"dd249875f962d16dd9ec821acf0c2b5c1ed0ed05569f6e874ccd5caca2759acf","tests/expand/not_unpin/enum.expanded.rs":"1c2dde8ff53bff0716a490ca6dc2fed351d4db1ef7bbd4cf40d48b8f7d305839","tests/expand/not_unpin/enum.rs":"c65aac4d2083e83d2dfc3bec8ce243e3e9169ef5f986f077f0a8b4226d39f7c3","tests/expand/not_unpin/struct.expanded.rs":"3ba32743c7578aad45354b59e1ad2d9dcb64a753f34ad25431c529b436260e15","tests/expand/not_unpin/struct.rs":"99d77727393e4a050d2ceb99710172dfdd13dfcb6e6416f63de39e5df3a9f03f","tests/expand/pinned_drop/enum.expanded.rs":"8776e664d0af9102c6af6f41dfb3e6cd8c69a5cb4fb3fd8ed8fb0aaca95dc711","tests/expand/pinned_drop/enum.rs":"8f590791cb4693bb077c562f0d93128f9452e6a5f60c631b5fd624a221883ebd","tests/expand/pinned_drop/struct.expanded.rs":"9643f7d71b94675a71c7c0ff8d8a3b1e3f716bb1f7c0efdea5c6c74b76274d2b","tests/expand/pinned_drop/struct.rs":"8da271d7d3182b33be297d985a1e3b57d6067406db21eca8ac2c448ef1a0869a","tests/expand/pub/enum.expanded.rs":"c52cfaa064ffbf04821386180d3ddf8a57a54012ece5114114f4ae4c7215d93f","tests/expand/pub/enum.rs":"fdbd806e92cfad4e67737d1f782544aa4e3116bae702161c43b5c22bfbf3a208","tests/expand/pub/struct.expanded.rs":"9e84c170b1e6505ffed33d66c976c44338cffa35838ddaef52c3598dec7cfe55","tests/expand/pub/struct.rs":"05cb3f03ef9801fecf0a7c86bbd236c97218b34ac01ee507cb7de9a78efaeffa","tests/expandtest.rs":"a4336ab879d79824ab3144ea385a7a00ba77604c3b6639ae53b6283850b421df","tests/include/basic.rs":"8c06c765c92d696284dde5b4762488100ce0ee1661ead307023a85d5c82d8ddc","tests/proper_unpin.rs":"83790eb38ae2fd5aed97fc67da79d91c1071f08d1e5aaef0c71e65d8b5767403","tests/test.rs":"37faf4f378b43c58f7aad09b05bcc520dcfd058be85c3bd0da93623139d48e01","tests/ui/not_unpin/conflict-unpin.rs":"23c7e081d86f2000838c32844dce1eee98d1b118eb1a29daf65c705aad5c68fb","tests/ui/not_unpin/conflict-unpin.stderr":"e6a6584c1958bc9e805188d207b39fe7d0cce27a7bdcfe2b96310f459cc9e874","tests/ui/not_unpin/negative_impls_stable.rs":"f014d5398d505ca5f482905cb9597a2d5fced563b9350229468c3751dd7f92ae","tests/ui/not_unpin/negative_impls_stable.stderr":"c25e91a02bff728cebd90af12eb17c3ae9d269e767eaf88634bcb2bedf8c4cb3","tests/ui/pin_project/conflict-drop.rs":"a1964fa136080cc354479ff55b8428e5fa79305681fb2475cc37d6071cd64112","tests/ui/pin_project/conflict-drop.stderr":"3af45f260f413b2643d9a9ceec122babb61a6f488a79df697bed93c27aee0c06","tests/ui/pin_project/conflict-unpin.rs":"37e7b2f9ab1be70d0521c9dbbc954067f22a2321511e008f0f72e13d0edb4afe","tests/ui/pin_project/conflict-unpin.stderr":"ae6f740fc0330a0c69646c8715acea160a5ca5437970f7c606d5830313db6ed9","tests/ui/pin_project/invalid-bounds.rs":"4068e272a4f5d44851e0901dd6cfa806ead000c2e1a507a2b42be51d26d17056","tests/ui/pin_project/invalid-bounds.stderr":"f9e5e40a51afb62034246e214ac7655df2e5e45e44392ab171c2dee2151b9c05","tests/ui/pin_project/invalid.rs":"1c84cc089623dd31f483011ed6543f169af341b028a212fcf00146bc96dd792f","tests/ui/pin_project/invalid.stderr":"ea3fb689d43e5bde62a9620093acc2d17b67a63547638525ea17cc4b9f180bef","tests/ui/pin_project/negative_impls_stable.rs":"1e70055fbec4bc0a53454fd93a0663f8785440d37dcf359ab29958d97fd51e9d","tests/ui/pin_project/negative_impls_stable.stderr":"1834433559cb74b5158cefb27bee7b01fb9ba6eb57d82fbb3a2541c6205a7034","tests/ui/pin_project/overlapping_lifetime_names.rs":"ac9c29b389e8e067e9e384cf04be69c0e5bb862cf373de0e3b4296fe2007809b","tests/ui/pin_project/overlapping_lifetime_names.stderr":"1df727ff5129e07c4c213352bc18dec9390a562726186596c07d4cc38a2f114a","tests/ui/pin_project/overlapping_unpin_struct.rs":"cb3d6d4087b8b4c917bc71e55764775f6bb018a77cda5c6b726afacd66789859","tests/ui/pin_project/overlapping_unpin_struct.stderr":"c0f2f178f779c9f0788fcf7ea697662f93fade1080cf7c014540d78aba01e100","tests/ui/pin_project/packed.rs":"6a24ac14e61e5d3e3b495f49d226318ec500e5aa46f34acf8e4f3e0827bd9604","tests/ui/pin_project/packed.stderr":"bee0ce6ee7943d2e6e71f7e3b9bf2602516cfbf9b03d4c77d8140803f95639ff","tests/ui/pin_project/unpin_sneaky.rs":"6e6385e067679c3bf5233163b3fa99ff2fc28bcb93fe594a5c987c0db7c0eaa6","tests/ui/pin_project/unpin_sneaky.stderr":"d2b305d2ee117a4734390fbd6d9b9c6214443b61cdc15bef44ef6789bc66352a","tests/ui/pin_project/unsupported.rs":"3ad5f584f9e56be3573133fba026a7bb378595d0a4b7b1bcbb6b78e37cef20a7","tests/ui/pin_project/unsupported.stderr":"93433fdb5c0542036a5a44f25da885d0c1ae78ad84094b924debe7af4cd8b73b","tests/ui/pinned_drop/call-drop-inner.rs":"0618b60a450c99b5953b302e26c68df1abe7632af3d9baf3639eb60091e4ff4e","tests/ui/pinned_drop/call-drop-inner.stderr":"d4a998b7f6a0378d179a9d32ecf45c5e20da5f25bce559a26e603bb785c6b9fb","tests/ui/pinned_drop/conditional-drop-impl.rs":"df03f38b2a331f339af2734fdd4ad2f637b2e2189d9928599adebe04ebee517f","tests/ui/pinned_drop/conditional-drop-impl.stderr":"0236b5e4bc14c550409c62cc4d5213467e53783e44ae5253bbafcbc9a1729d2b"},"package":"3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"} \ No newline at end of file
diff --git a/crates/pin-project-lite/Android.bp b/crates/pin-project-lite/Android.bp index ef511ee..9b15848 100644 --- a/crates/pin-project-lite/Android.bp +++ b/crates/pin-project-lite/Android.bp
@@ -18,7 +18,7 @@ host_supported: true, crate_name: "pin_project_lite", cargo_env_compat: true, - cargo_pkg_version: "0.2.15", + cargo_pkg_version: "0.2.16", crate_root: "src/lib.rs", edition: "2018", apex_available: [
diff --git a/crates/pin-project-lite/CHANGELOG.md b/crates/pin-project-lite/CHANGELOG.md index 50d61cc..2c6bf8c 100644 --- a/crates/pin-project-lite/CHANGELOG.md +++ b/crates/pin-project-lite/CHANGELOG.md
@@ -12,6 +12,10 @@ ## [Unreleased] +## [0.2.16] - 2025-01-06 + +- Suppress `clippy::absolute_paths`, `clippy::min_ident_chars`, and `clippy::single_char_lifetime_names` lints in generated code. + ## [0.2.15] - 2024-10-24 - Work around an issue on negative_impls that allows unsound overlapping `Unpin` implementations. ([#84](https://github.com/taiki-e/pin-project-lite/pull/84)) @@ -222,7 +226,8 @@ Initial release -[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.15...HEAD +[Unreleased]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.16...HEAD +[0.2.16]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.15...v0.2.16 [0.2.15]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.14...v0.2.15 [0.2.14]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.13...v0.2.14 [0.2.13]: https://github.com/taiki-e/pin-project-lite/compare/v0.2.12...v0.2.13
diff --git a/crates/pin-project-lite/Cargo.toml b/crates/pin-project-lite/Cargo.toml index 4370a2e..fb4ba2c 100644 --- a/crates/pin-project-lite/Cargo.toml +++ b/crates/pin-project-lite/Cargo.toml
@@ -13,13 +13,14 @@ edition = "2018" rust-version = "1.37" name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" build = false exclude = [ "/.*", "/tools", "/DEVELOPMENT.md", ] +autolib = false autobins = false autoexamples = false autotests = false
diff --git a/crates/pin-project-lite/METADATA b/crates/pin-project-lite/METADATA index 2eff223..37d8b85 100644 --- a/crates/pin-project-lite/METADATA +++ b/crates/pin-project-lite/METADATA
@@ -1,17 +1,17 @@ name: "pin-project-lite" description: "A lightweight version of pin-project written with declarative macros." third_party { - version: "0.2.15" + version: "0.2.16" license_type: NOTICE last_upgrade_date { - year: 2024 - month: 12 - day: 20 + year: 2025 + month: 1 + day: 14 } homepage: "https://crates.io/crates/pin-project-lite" identifier { type: "Archive" - value: "https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.15.crate" - version: "0.2.15" + value: "https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.16.crate" + version: "0.2.16" } }
diff --git a/crates/pin-project-lite/src/lib.rs b/crates/pin-project-lite/src/lib.rs index 51c1624..679e869 100644 --- a/crates/pin-project-lite/src/lib.rs +++ b/crates/pin-project-lite/src/lib.rs
@@ -484,13 +484,18 @@ } $($(#[$drop_impl_attrs:meta])* impl $($pinned_drop:tt)*)? ) => { - #[allow(explicit_outlives_requirements)] // https://github.com/rust-lang/rust/issues/60993 - #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 - // This lint warns of `clippy::*` generated by external macros. - // We allow this lint for compatibility with older compilers. - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::redundant_pub_crate)] // This lint warns `pub(crate)` field in private struct. - #[allow(clippy::used_underscore_binding)] + #[allow( + explicit_outlives_requirements, // https://github.com/rust-lang/rust/issues/60993 + single_use_lifetimes, // https://github.com/rust-lang/rust/issues/55058 + // This lint warns of `clippy::*` generated by external macros. + // We allow this lint for compatibility with older compilers. + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, // This lint warns `pub(crate)` field in private struct. + clippy::single_char_lifetime_names, + clippy::used_underscore_binding + )] const _: () = { $crate::__pin_project_make_proj_ty! { [$($proj_mut_ident)? Projection] @@ -517,7 +522,7 @@ } } - impl <$($impl_generics)*> $ident <$($ty_generics)*> + impl<$($impl_generics)*> $ident <$($ty_generics)*> $(where $($where_clause)*)? { @@ -627,13 +632,18 @@ } $($(#[$drop_impl_attrs:meta])* impl $($pinned_drop:tt)*)? ) => { - #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 - // This lint warns of `clippy::*` generated by external macros. - // We allow this lint for compatibility with older compilers. - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::used_underscore_binding)] + #[allow( + single_use_lifetimes, // https://github.com/rust-lang/rust/issues/55058 + // This lint warns of `clippy::*` generated by external macros. + // We allow this lint for compatibility with older compilers. + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding + )] const _: () = { - impl <$($impl_generics)*> $ident <$($ty_generics)*> + impl<$($impl_generics)*> $ident <$($ty_generics)*> $(where $($where_clause)*)? { @@ -850,15 +860,20 @@ [$($body_data:tt)+] ) => { #[doc(hidden)] // Workaround for rustc bug: see https://github.com/taiki-e/pin-project-lite/issues/77#issuecomment-1671540180 for more. - #[allow(dead_code)] // This lint warns unused fields/variants. - #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 - // This lint warns of `clippy::*` generated by external macros. - // We allow this lint for compatibility with older compilers. - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] // This lint warns `&mut &mut <ty>`. (only needed for project) - #[allow(clippy::redundant_pub_crate)] // This lint warns `pub(crate)` field in private struct. - #[allow(clippy::ref_option_ref)] // This lint warns `&Option<&<ty>>`. (only needed for project_ref) - #[allow(clippy::type_repetition_in_bounds)] // https://github.com/rust-lang/rust-clippy/issues/4326 + #[allow( + dead_code, // This lint warns unused fields/variants. + single_use_lifetimes, // https://github.com/rust-lang/rust/issues/55058 + // This lint warns of `clippy::*` generated by external macros. + // We allow this lint for compatibility with older compilers. + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, // This lint warns `&mut &mut <ty>`. (only needed for project) + clippy::redundant_pub_crate, // This lint warns `pub(crate)` field in private struct. + clippy::ref_option_ref, // This lint warns `&Option<&<ty>>`. (only needed for project_ref) + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds // https://github.com/rust-lang/rust-clippy/issues/4326 + )] $proj_vis $struct_ty_ident $proj_ty_ident <'__pin, $($impl_generics)*> where $ident <$($ty_generics)*>: '__pin @@ -944,11 +959,19 @@ [$($body_data:tt)+] ) => { #[doc(hidden)] // Workaround for rustc bug: see https://github.com/taiki-e/pin-project-lite/issues/77#issuecomment-1671540180 for more. - #[allow(dead_code)] // This lint warns unused fields/variants. - #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 - #[allow(clippy::mut_mut)] // This lint warns `&mut &mut <ty>`. (only needed for project) - #[allow(clippy::redundant_pub_crate)] // This lint warns `pub(crate)` field in private struct. - #[allow(clippy::type_repetition_in_bounds)] // https://github.com/rust-lang/rust-clippy/issues/4326 + #[allow( + dead_code, // This lint warns unused fields/variants. + single_use_lifetimes, // https://github.com/rust-lang/rust/issues/55058 + // This lint warns of `clippy::*` generated by external macros. + // We allow this lint for compatibility with older compilers. + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, // This lint warns `&mut &mut <ty>`. (only needed for project) + clippy::redundant_pub_crate, // This lint warns `pub(crate)` field in private struct. + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds // https://github.com/rust-lang/rust-clippy/issues/4326 + )] $proj_vis $struct_ty_ident $proj_ty_ident <$($impl_generics)*> where $($($where_clause)*)? @@ -1228,7 +1251,7 @@ __dummy_lifetime: $crate::__private::PhantomData<&'__pin ()>, $($field)* } - impl <'__pin, $($impl_generics)*> $crate::__private::Unpin for $ident <$($ty_generics)*> + impl<'__pin, $($impl_generics)*> $crate::__private::Unpin for $ident <$($ty_generics)*> where $crate::__private::PinnedFieldsOf<__Origin<'__pin, $($ty_generics)*>>: $crate::__private::Unpin @@ -1242,12 +1265,14 @@ [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?] $($field:tt)* ) => { + // TODO: Using `<unsized type>: Sized` here allow emulating real negative_impls... + // https://github.com/taiki-e/pin-project/issues/340#issuecomment-2428002670 #[doc(hidden)] - impl <'__pin, $($impl_generics)*> $crate::__private::Unpin for $ident <$($ty_generics)*> + impl<'__pin, $($impl_generics)*> $crate::__private::Unpin for $ident <$($ty_generics)*> where ( - ::core::marker::PhantomData<&'__pin ()>, - ::core::marker::PhantomPinned, + $crate::__private::PhantomData<&'__pin ()>, + $crate::__private::PhantomPinned, ): $crate::__private::Unpin $(, $($where_clause)*)? { @@ -1354,7 +1379,7 @@ // // There are two possible cases: // 1. The user type does not implement Drop. In this case, - // the first blanked impl will not apply to it. This code + // the first blanket impl will not apply to it. This code // will compile, as there is only one impl of MustNotImplDrop for the user type // 2. The user type does impl Drop. This will make the blanket impl applicable, // which will then conflict with the explicit MustNotImplDrop impl below. @@ -1362,7 +1387,7 @@ trait MustNotImplDrop {} #[allow(clippy::drop_bounds, drop_bounds)] impl<T: $crate::__private::Drop> MustNotImplDrop for T {} - impl <$($impl_generics)*> MustNotImplDrop for $ident <$($ty_generics)*> + impl<$($impl_generics)*> MustNotImplDrop for $ident <$($ty_generics)*> $(where $($where_clause)*)? { @@ -1669,7 +1694,7 @@ use core::mem::ManuallyDrop; #[doc(hidden)] pub use core::{ - marker::{PhantomData, Unpin}, + marker::{PhantomData, PhantomPinned, Unpin}, ops::Drop, pin::Pin, ptr,
diff --git a/crates/pin-project-lite/tests/expand/default/enum.expanded.rs b/crates/pin-project-lite/tests/expand/default/enum.expanded.rs index b01e4a8..86b0035 100644 --- a/crates/pin-project-lite/tests/expand/default/enum.expanded.rs +++ b/crates/pin-project-lite/tests/expand/default/enum.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -22,13 +27,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -40,18 +50,29 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjReplace<T, U> { Struct { pinned: ::pin_project_lite::__private::PhantomData<T>, unpinned: U }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/default/struct.expanded.rs b/crates/pin-project-lite/tests/expand/default/struct.expanded.rs index 4c86c89..4eaa44e 100644 --- a/crates/pin-project-lite/tests/expand/default/struct.expanded.rs +++ b/crates/pin-project-lite/tests/expand/default/struct.expanded.rs
@@ -3,20 +3,30 @@ pinned: T, unpinned: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct Projection<'__pin, T, U> where Struct<T, U>: '__pin, @@ -25,13 +35,18 @@ unpinned: &'__pin mut (U), } #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/multifields/enum.expanded.rs b/crates/pin-project-lite/tests/expand/multifields/enum.expanded.rs index f65dd3e..255df6f 100644 --- a/crates/pin-project-lite/tests/expand/multifields/enum.expanded.rs +++ b/crates/pin-project-lite/tests/expand/multifields/enum.expanded.rs
@@ -4,11 +4,17 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjReplace<T, U> { Struct { pinned1: ::pin_project_lite::__private::PhantomData<T>, @@ -18,9 +24,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/multifields/struct.expanded.rs b/crates/pin-project-lite/tests/expand/multifields/struct.expanded.rs index 30716b1..2b2774e 100644 --- a/crates/pin-project-lite/tests/expand/multifields/struct.expanded.rs +++ b/crates/pin-project-lite/tests/expand/multifields/struct.expanded.rs
@@ -6,31 +6,47 @@ unpinned2: U, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProjReplace<T, U> { pinned1: ::pin_project_lite::__private::PhantomData<T>, pinned2: ::pin_project_lite::__private::PhantomData<T>, unpinned1: U, unpinned2: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct Projection<'__pin, T, U> where Struct<T, U>: '__pin, @@ -41,13 +57,18 @@ unpinned2: &'__pin mut (U), } #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/naming/enum-all.expanded.rs b/crates/pin-project-lite/tests/expand/naming/enum-all.expanded.rs index b01e4a8..86b0035 100644 --- a/crates/pin-project-lite/tests/expand/naming/enum-all.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/enum-all.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -22,13 +27,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -40,18 +50,29 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjReplace<T, U> { Struct { pinned: ::pin_project_lite::__private::PhantomData<T>, unpinned: U }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/naming/enum-mut.expanded.rs b/crates/pin-project-lite/tests/expand/naming/enum-mut.expanded.rs index 7143c74..5db4770 100644 --- a/crates/pin-project-lite/tests/expand/naming/enum-mut.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/enum-mut.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -21,9 +26,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/naming/enum-none.expanded.rs b/crates/pin-project-lite/tests/expand/naming/enum-none.expanded.rs index b03fb6d..cb8233b 100644 --- a/crates/pin-project-lite/tests/expand/naming/enum-none.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/enum-none.expanded.rs
@@ -3,9 +3,14 @@ Struct { pinned: T, unpinned: U }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> {} #[allow(non_snake_case)]
diff --git a/crates/pin-project-lite/tests/expand/naming/enum-ref.expanded.rs b/crates/pin-project-lite/tests/expand/naming/enum-ref.expanded.rs index 27476d2..9dd9fa9 100644 --- a/crates/pin-project-lite/tests/expand/naming/enum-ref.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/enum-ref.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -21,9 +26,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/naming/struct-all.expanded.rs b/crates/pin-project-lite/tests/expand/naming/struct-all.expanded.rs index e9abe0f..eabbd27 100644 --- a/crates/pin-project-lite/tests/expand/naming/struct-all.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/struct-all.expanded.rs
@@ -4,13 +4,18 @@ unpinned: U, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProj<'__pin, T, U> where Struct<T, U>: '__pin, @@ -19,13 +24,18 @@ unpinned: &'__pin mut (U), } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProjRef<'__pin, T, U> where Struct<T, U>: '__pin, @@ -34,20 +44,31 @@ unpinned: &'__pin (U), } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProjReplace<T, U> { pinned: ::pin_project_lite::__private::PhantomData<T>, unpinned: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Struct<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/naming/struct-mut.expanded.rs b/crates/pin-project-lite/tests/expand/naming/struct-mut.expanded.rs index 5655548..850cf1b 100644 --- a/crates/pin-project-lite/tests/expand/naming/struct-mut.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/struct-mut.expanded.rs
@@ -4,13 +4,18 @@ unpinned: U, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProj<'__pin, T, U> where Struct<T, U>: '__pin, @@ -18,20 +23,30 @@ pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, unpinned: &'__pin mut (U), } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/naming/struct-none.expanded.rs b/crates/pin-project-lite/tests/expand/naming/struct-none.expanded.rs index 4c86c89..4eaa44e 100644 --- a/crates/pin-project-lite/tests/expand/naming/struct-none.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/struct-none.expanded.rs
@@ -3,20 +3,30 @@ pinned: T, unpinned: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct Projection<'__pin, T, U> where Struct<T, U>: '__pin, @@ -25,13 +35,18 @@ unpinned: &'__pin mut (U), } #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/naming/struct-ref.expanded.rs b/crates/pin-project-lite/tests/expand/naming/struct-ref.expanded.rs index 5c834b6..3891fb1 100644 --- a/crates/pin-project-lite/tests/expand/naming/struct-ref.expanded.rs +++ b/crates/pin-project-lite/tests/expand/naming/struct-ref.expanded.rs
@@ -4,13 +4,18 @@ unpinned: U, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProjRef<'__pin, T, U> where Struct<T, U>: '__pin, @@ -18,20 +23,30 @@ pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, unpinned: &'__pin (U), } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct Projection<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/not_unpin/enum.expanded.rs b/crates/pin-project-lite/tests/expand/not_unpin/enum.expanded.rs index 02cdc23..bc3f8a5 100644 --- a/crates/pin-project-lite/tests/expand/not_unpin/enum.expanded.rs +++ b/crates/pin-project-lite/tests/expand/not_unpin/enum.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -22,13 +27,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -39,9 +49,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)] @@ -87,8 +102,8 @@ impl<'__pin, T, U> ::pin_project_lite::__private::Unpin for Enum<T, U> where ( - ::core::marker::PhantomData<&'__pin ()>, - ::core::marker::PhantomPinned, + ::pin_project_lite::__private::PhantomData<&'__pin ()>, + ::pin_project_lite::__private::PhantomPinned, ): ::pin_project_lite::__private::Unpin, {} trait MustNotImplDrop {}
diff --git a/crates/pin-project-lite/tests/expand/not_unpin/struct.expanded.rs b/crates/pin-project-lite/tests/expand/not_unpin/struct.expanded.rs index 2e590b6..45b1865 100644 --- a/crates/pin-project-lite/tests/expand/not_unpin/struct.expanded.rs +++ b/crates/pin-project-lite/tests/expand/not_unpin/struct.expanded.rs
@@ -4,13 +4,18 @@ unpinned: U, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProj<'__pin, T, U> where Struct<T, U>: '__pin, @@ -19,13 +24,18 @@ unpinned: &'__pin mut (U), } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] struct StructProjRef<'__pin, T, U> where Struct<T, U>: '__pin, @@ -33,11 +43,16 @@ pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, unpinned: &'__pin (U), } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Struct<T, U> { #[doc(hidden)] @@ -71,8 +86,8 @@ impl<'__pin, T, U> ::pin_project_lite::__private::Unpin for Struct<T, U> where ( - ::core::marker::PhantomData<&'__pin ()>, - ::core::marker::PhantomPinned, + ::pin_project_lite::__private::PhantomData<&'__pin ()>, + ::pin_project_lite::__private::PhantomPinned, ): ::pin_project_lite::__private::Unpin, {} trait MustNotImplDrop {}
diff --git a/crates/pin-project-lite/tests/expand/pinned_drop/enum.expanded.rs b/crates/pin-project-lite/tests/expand/pinned_drop/enum.expanded.rs index c591a32..2199c82 100644 --- a/crates/pin-project-lite/tests/expand/pinned_drop/enum.expanded.rs +++ b/crates/pin-project-lite/tests/expand/pinned_drop/enum.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -22,13 +27,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -39,9 +49,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/pinned_drop/struct.expanded.rs b/crates/pin-project-lite/tests/expand/pinned_drop/struct.expanded.rs index 366171f..cb973eb 100644 --- a/crates/pin-project-lite/tests/expand/pinned_drop/struct.expanded.rs +++ b/crates/pin-project-lite/tests/expand/pinned_drop/struct.expanded.rs
@@ -3,20 +3,30 @@ pinned: T, unpinned: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct Projection<'__pin, T, U> where Struct<T, U>: '__pin, @@ -25,13 +35,18 @@ unpinned: &'__pin mut (U), } #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/expand/pub/enum.expanded.rs b/crates/pin-project-lite/tests/expand/pub/enum.expanded.rs index eddb690..b2c3ce9 100644 --- a/crates/pin-project-lite/tests/expand/pub/enum.expanded.rs +++ b/crates/pin-project-lite/tests/expand/pub/enum.expanded.rs
@@ -4,13 +4,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] pub(crate) enum EnumProj<'__pin, T, U> where Enum<T, U>: '__pin, @@ -22,13 +27,18 @@ Unit, } #[doc(hidden)] -#[allow(dead_code)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::mut_mut)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::ref_option_ref)] -#[allow(clippy::type_repetition_in_bounds)] +#[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds +)] pub(crate) enum EnumProjRef<'__pin, T, U> where Enum<T, U>: '__pin, @@ -39,9 +49,14 @@ }, Unit, } -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::used_underscore_binding)] +#[allow( + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { impl<T, U> Enum<T, U> { #[doc(hidden)]
diff --git a/crates/pin-project-lite/tests/expand/pub/struct.expanded.rs b/crates/pin-project-lite/tests/expand/pub/struct.expanded.rs index 7df7e3f..b17ba79 100644 --- a/crates/pin-project-lite/tests/expand/pub/struct.expanded.rs +++ b/crates/pin-project-lite/tests/expand/pub/struct.expanded.rs
@@ -3,20 +3,30 @@ pub pinned: T, pub unpinned: U, } -#[allow(explicit_outlives_requirements)] -#[allow(single_use_lifetimes)] -#[allow(clippy::unknown_clippy_lints)] -#[allow(clippy::redundant_pub_crate)] -#[allow(clippy::used_underscore_binding)] +#[allow( + explicit_outlives_requirements, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::redundant_pub_crate, + clippy::single_char_lifetime_names, + clippy::used_underscore_binding +)] const _: () = { #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] pub(crate) struct Projection<'__pin, T, U> where Struct<T, U>: '__pin, @@ -25,13 +35,18 @@ pub unpinned: &'__pin mut (U), } #[doc(hidden)] - #[allow(dead_code)] - #[allow(single_use_lifetimes)] - #[allow(clippy::unknown_clippy_lints)] - #[allow(clippy::mut_mut)] - #[allow(clippy::redundant_pub_crate)] - #[allow(clippy::ref_option_ref)] - #[allow(clippy::type_repetition_in_bounds)] + #[allow( + dead_code, + single_use_lifetimes, + clippy::unknown_clippy_lints, + clippy::absolute_paths, + clippy::min_ident_chars, + clippy::mut_mut, + clippy::redundant_pub_crate, + clippy::ref_option_ref, + clippy::single_char_lifetime_names, + clippy::type_repetition_in_bounds + )] pub(crate) struct ProjectionRef<'__pin, T, U> where Struct<T, U>: '__pin,
diff --git a/crates/pin-project-lite/tests/include/basic.rs b/crates/pin-project-lite/tests/include/basic.rs index bfd7d8f..5c7308a 100644 --- a/crates/pin-project-lite/tests/include/basic.rs +++ b/crates/pin-project-lite/tests/include/basic.rs
@@ -5,6 +5,7 @@ ::pin_project_lite::pin_project! { /// Testing default struct. #[derive(Debug)] + #[allow(clippy::exhaustive_structs)] // for the type itself pub struct DefaultStruct<T, U> { #[pin] pub pinned: T, @@ -14,6 +15,7 @@ ::pin_project_lite::pin_project! { /// Testing named struct. + #[allow(clippy::exhaustive_structs)] // for the type itself #[project = DefaultStructProj] #[project_ref = DefaultStructProjRef] #[derive(Debug)] @@ -26,6 +28,7 @@ ::pin_project_lite::pin_project! { /// Testing enum. + #[allow(clippy::exhaustive_enums)] // for the type itself #[project = DefaultEnumProj] #[project_ref = DefaultEnumProjRef] #[derive(Debug)] @@ -40,3 +43,39 @@ Unit, } } + +::pin_project_lite::pin_project! { + /// Testing pinned drop struct. + #[allow(clippy::exhaustive_structs)] // for the type itself + #[derive(Debug)] + pub struct PinnedDropStruct<T, U> { + #[pin] + pub pinned: T, + pub unpinned: U, + } + impl<T, U> PinnedDrop for PinnedDropStruct<T, U> { + fn drop(_this: Pin<&mut Self>) {} + } +} + +::pin_project_lite::pin_project! { + /// Testing pinned drop enum. + #[allow(clippy::absolute_paths, clippy::exhaustive_enums)] // for the type itself + #[project = PinnedDropEnumProj] + #[project_ref = PinnedDropEnumProjRef] + #[derive(Debug)] + pub enum PinnedDropEnum<T: ::pin_project_lite::__private::Unpin, U> { + /// Struct variant. + Struct { + #[pin] + pinned: T, + unpinned: U, + }, + /// Unit variant. + Unit, + } + #[allow(clippy::absolute_paths)] + impl<T: ::pin_project_lite::__private::Unpin, U> PinnedDrop for PinnedDropEnum<T, U> { + fn drop(_this: Pin<&mut Self>) {} + } +}
diff --git a/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.rs b/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.rs new file mode 100644 index 0000000..24a6c08 --- /dev/null +++ b/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.rs
@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + +use pin_project_lite::pin_project; + +pin_project! { + #[project(!Unpin)] + struct Foo<T, U> { + #[pin] + f1: T, + f2: U, + } +} + +impl<T, U> Unpin for Foo<T, U> where T: Unpin {} + +pin_project! { + #[project(!Unpin)] + struct Bar<T, U> { + #[pin] + f1: T, + f2: U, + } +} + +impl<T, U> Unpin for Bar<T, U> {} + +pin_project! { + #[project(!Unpin)] + struct Baz<T, U> { + #[pin] + f1: T, + f2: U, + } +} + +impl<T: Unpin, U: Unpin> Unpin for Baz<T, U> {} + +fn main() {}
diff --git a/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.stderr b/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.stderr new file mode 100644 index 0000000..c915e4d --- /dev/null +++ b/crates/pin-project-lite/tests/ui/not_unpin/conflict-unpin.stderr
@@ -0,0 +1,50 @@ +error[E0119]: conflicting implementations of trait `Unpin` for type `Foo<_, _>` + --> tests/ui/not_unpin/conflict-unpin.rs:5:1 + | +5 | / pin_project! { +6 | | #[project(!Unpin)] +7 | | struct Foo<T, U> { +8 | | #[pin] +... | +12 | | } + | |_^ conflicting implementation for `Foo<_, _>` +13 | +14 | impl<T, U> Unpin for Foo<T, U> where T: Unpin {} + | --------------------------------------------- first implementation here + | + = note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `(std::marker::PhantomData<&()>, std::marker::PhantomPinned)` in future versions + = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) + +error[E0119]: conflicting implementations of trait `Unpin` for type `Bar<_, _>` + --> tests/ui/not_unpin/conflict-unpin.rs:16:1 + | +16 | / pin_project! { +17 | | #[project(!Unpin)] +18 | | struct Bar<T, U> { +19 | | #[pin] +... | +23 | | } + | |_^ conflicting implementation for `Bar<_, _>` +24 | +25 | impl<T, U> Unpin for Bar<T, U> {} + | ------------------------------ first implementation here + | + = note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `(std::marker::PhantomData<&()>, std::marker::PhantomPinned)` in future versions + = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) + +error[E0119]: conflicting implementations of trait `Unpin` for type `Baz<_, _>` + --> tests/ui/not_unpin/conflict-unpin.rs:27:1 + | +27 | / pin_project! { +28 | | #[project(!Unpin)] +29 | | struct Baz<T, U> { +30 | | #[pin] +... | +34 | | } + | |_^ conflicting implementation for `Baz<_, _>` +35 | +36 | impl<T: Unpin, U: Unpin> Unpin for Baz<T, U> {} + | -------------------------------------------- first implementation here + | + = note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `(std::marker::PhantomData<&()>, std::marker::PhantomPinned)` in future versions + = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
diff --git a/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.rs b/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.rs new file mode 100644 index 0000000..932b801 --- /dev/null +++ b/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.rs
@@ -0,0 +1,22 @@ +// SPDX-License-Identifier: Apache-2.0 OR MIT + +// https://github.com/taiki-e/pin-project/issues/340#issuecomment-2428002670 + +pin_project_lite::pin_project! { + #[project(!Unpin)] + struct Foo<Pinned, Unpinned> { + #[pin] + pinned: Pinned, + unpinned: Unpinned, + } +} + +struct MyPhantomPinned(::core::marker::PhantomPinned); +impl Unpin for MyPhantomPinned where for<'cursed> str: Sized {} +impl Unpin for Foo<MyPhantomPinned, ()> {} + +fn is_unpin<T: Unpin>() {} + +fn main() { + is_unpin::<Foo<MyPhantomPinned, ()>>() +}
diff --git a/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.stderr b/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.stderr new file mode 100644 index 0000000..b9c12d3 --- /dev/null +++ b/crates/pin-project-lite/tests/ui/not_unpin/negative_impls_stable.stderr
@@ -0,0 +1,16 @@ +error[E0119]: conflicting implementations of trait `Unpin` for type `Foo<MyPhantomPinned, ()>` + --> tests/ui/not_unpin/negative_impls_stable.rs:5:1 + | +5 | / pin_project_lite::pin_project! { +6 | | #[project(!Unpin)] +7 | | struct Foo<Pinned, Unpinned> { +8 | | #[pin] +... | +12 | | } + | |_^ conflicting implementation for `Foo<MyPhantomPinned, ()>` +... +16 | impl Unpin for Foo<MyPhantomPinned, ()> {} + | --------------------------------------- first implementation here + | + = note: upstream crates may add a new impl of trait `std::marker::Unpin` for type `(std::marker::PhantomData<&()>, std::marker::PhantomPinned)` in future versions + = note: this error originates in the macro `$crate::__pin_project_make_unpin_impl` which comes from the expansion of the macro `pin_project_lite::pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
diff --git a/crates/pin-project-lite/tests/ui/pin_project/conflict-drop.stderr b/crates/pin-project-lite/tests/ui/pin_project/conflict-drop.stderr index 13d89c0..9f6dd47 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/conflict-drop.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/conflict-drop.stderr
@@ -5,8 +5,7 @@ 6 | | struct Foo<T, U> { 7 | | #[pin] 8 | | future: T, -9 | | field: U, -10 | | } +... | 11 | | } | | ^ | | |
diff --git a/crates/pin-project-lite/tests/ui/pin_project/conflict-unpin.stderr b/crates/pin-project-lite/tests/ui/pin_project/conflict-unpin.stderr index 44aa959..22a358e 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/conflict-unpin.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/conflict-unpin.stderr
@@ -5,8 +5,7 @@ 8 | | struct Foo<T, U> { 9 | | #[pin] 10 | | future: T, -11 | | field: U, -12 | | } +... | 13 | | } | |_^ conflicting implementation for `Foo<_, _>` ... @@ -22,8 +21,7 @@ 21 | | struct Bar<T, U> { 22 | | #[pin] 23 | | future: T, -24 | | field: U, -25 | | } +... | 26 | | } | |_^ conflicting implementation for `Bar<_, _>` ... @@ -39,8 +37,7 @@ 32 | | struct Baz<T, U> { 33 | | #[pin] 34 | | future: T, -35 | | field: U, -36 | | } +... | 37 | | } | |_^ conflicting implementation for `Baz<_, _>` ... @@ -57,7 +54,6 @@ 44 | | struct Qux<T, U> { 45 | | #[pin] ... | -48 | | } 49 | | } | |_^ conflicting implementation for `Qux<_, _>` ... @@ -75,7 +71,6 @@ 56 | | struct Fred<T, U> { 57 | | #[pin] ... | -60 | | } 61 | | } | |_^ conflicting implementation for `Fred<_, _>` ...
diff --git a/crates/pin-project-lite/tests/ui/pin_project/invalid-bounds.stderr b/crates/pin-project-lite/tests/ui/pin_project/invalid-bounds.stderr index 084ff47..c60aca1 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/invalid-bounds.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/invalid-bounds.stderr
@@ -1,4 +1,4 @@ -error: no rules expected the token `:` +error: no rules expected `:` --> tests/ui/pin_project/invalid-bounds.rs:6:33 | 6 | struct Generics1<T: 'static : Sized> { //~ ERROR no rules expected the token `:` @@ -10,7 +10,7 @@ | >)? | ^ -error: no rules expected the token `:` +error: no rules expected `:` --> tests/ui/pin_project/invalid-bounds.rs:12:33 | 12 | struct Generics2<T: 'static : ?Sized> { //~ ERROR no rules expected the token `:` @@ -274,7 +274,7 @@ | $(: $generics_bound>)? | + -error: no rules expected the token `Sized` +error: no rules expected `Sized` --> tests/ui/pin_project/invalid-bounds.rs:36:34 | 36 | struct Generics6<T: ?Sized : Sized> { //~ ERROR no rules expected the token `Sized` @@ -286,7 +286,7 @@ | $(: $generics_lifetime_bound:lifetime)? | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: no rules expected the token `:` +error: no rules expected `:` --> tests/ui/pin_project/invalid-bounds.rs:44:20 | 44 | T: 'static : Sized //~ ERROR no rules expected the token `:` @@ -298,7 +298,7 @@ | { | ^ -error: no rules expected the token `:` +error: no rules expected `:` --> tests/ui/pin_project/invalid-bounds.rs:53:20 | 53 | T: 'static : ?Sized //~ ERROR no rules expected the token `:` @@ -318,7 +318,6 @@ 61 | | where 62 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -65 | | } 66 | | } | | ^ | | | @@ -335,7 +334,6 @@ 61 | | where 62 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -65 | | } 66 | | } | | ^ | | | @@ -353,7 +351,6 @@ 61 | | where 62 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -65 | | } 66 | | } | | ^ | | | @@ -370,7 +367,6 @@ 61 | | where 62 | | T: Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -65 | | } 66 | | } | | ^ | | | @@ -387,7 +383,6 @@ 70 | | where 71 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -74 | | } 75 | | } | | ^ | | | @@ -404,7 +399,6 @@ 70 | | where 71 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -74 | | } 75 | | } | | ^ | | | @@ -422,7 +416,6 @@ 70 | | where 71 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -74 | | } 75 | | } | | ^ | | | @@ -439,7 +432,6 @@ 70 | | where 71 | | T: ?Sized : 'static //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -74 | | } 75 | | } | | ^ | | | @@ -456,7 +448,6 @@ 79 | | where 80 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -83 | | } 84 | | } | | ^ | | | @@ -473,7 +464,6 @@ 79 | | where 80 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -83 | | } 84 | | } | | ^ | | | @@ -491,7 +481,6 @@ 79 | | where 80 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -83 | | } 84 | | } | | ^ | | | @@ -508,7 +497,6 @@ 79 | | where 80 | | T: Sized : ?Sized //~ ERROR expected `where`, or `{` after struct name, found `:` ... | -83 | | } 84 | | } | | ^ | | | @@ -517,7 +505,7 @@ | = note: this error originates in the macro `$crate::__pin_project_parse_generics` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) -error: no rules expected the token `Sized` +error: no rules expected `Sized` --> tests/ui/pin_project/invalid-bounds.rs:89:21 | 89 | T: ?Sized : Sized //~ ERROR no rules expected the token `Sized`
diff --git a/crates/pin-project-lite/tests/ui/pin_project/invalid.stderr b/crates/pin-project-lite/tests/ui/pin_project/invalid.stderr index 3dfc90c..8cd85c8 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/invalid.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/invalid.stderr
@@ -1,4 +1,4 @@ -error: no rules expected the token `(` +error: no rules expected `(` --> tests/ui/pin_project/invalid.rs:7:14 | 7 | #[pin()] //~ ERROR no rules expected the token `(` @@ -10,7 +10,7 @@ | $(#[$pin:ident])? | ^ -error: no rules expected the token `(` +error: no rules expected `(` --> tests/ui/pin_project/invalid.rs:7:14 | 7 | #[pin()] //~ ERROR no rules expected the token `(` @@ -22,7 +22,7 @@ | $(#[$pin:ident])? | ^ -error: no rules expected the token `#` +error: no rules expected `#` --> tests/ui/pin_project/invalid.rs:22:9 | 22 | #[pin] //~ ERROR no rules expected the token `#` @@ -34,7 +34,7 @@ | $field_vis:vis $field:ident: $field_ty:ty | ^^^^^^^^^^^^^^ -error: no rules expected the token `#` +error: no rules expected `#` --> tests/ui/pin_project/invalid.rs:22:9 | 22 | #[pin] //~ ERROR no rules expected the token `#`
diff --git a/crates/pin-project-lite/tests/ui/pin_project/negative_impls_stable.stderr b/crates/pin-project-lite/tests/ui/pin_project/negative_impls_stable.stderr index 3059cc7..74fcc90 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/negative_impls_stable.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/negative_impls_stable.stderr
@@ -5,8 +5,7 @@ 6 | | struct Foo<Pinned, Unpinned> { 7 | | #[pin] 8 | | pinned: Pinned, -9 | | unpinned: Unpinned, -10 | | } +... | 11 | | } | |_^ conflicting implementation for `Foo<MyPhantomPinned, ()>` ...
diff --git a/crates/pin-project-lite/tests/ui/pin_project/overlapping_unpin_struct.stderr b/crates/pin-project-lite/tests/ui/pin_project/overlapping_unpin_struct.stderr index 9ec1abc..8529ddc 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/overlapping_unpin_struct.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/overlapping_unpin_struct.stderr
@@ -2,7 +2,7 @@ --> tests/ui/pin_project/overlapping_unpin_struct.rs:21:16 | 21 | is_unpin::<Foo<PhantomPinned>>(); //~ ERROR E0277 - | ^^^^^^^^^^^^^^^^^^ within `_::__Origin<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned`, which is required by `Foo<PhantomPinned>: Unpin` + | ^^^^^^^^^^^^^^^^^^ within `_::__Origin<'_, PhantomPinned>`, the trait `Unpin` is not implemented for `PhantomPinned` | = note: consider using the `pin!` macro consider using `Box::pin` if you need to access the pinned value outside of the current scope
diff --git a/crates/pin-project-lite/tests/ui/pin_project/packed.stderr b/crates/pin-project-lite/tests/ui/pin_project/packed.stderr index b9025cc..65a1290 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/packed.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/packed.stderr
@@ -5,8 +5,7 @@ 6 | | #[repr(packed, C)] 7 | | struct Packed { 8 | | #[pin] -9 | | field: u16, -10 | | } +... | 11 | | } | |_^ | @@ -22,8 +21,7 @@ 6 | | #[repr(packed, C)] 7 | | struct Packed { 8 | | #[pin] -9 | | field: u16, -10 | | } +... | 11 | | } | |_^ | @@ -39,8 +37,7 @@ 6 | | #[repr(packed, C)] 7 | | struct Packed { 8 | | #[pin] -9 | | field: u16, -10 | | } +... | 11 | | } | |_^ | @@ -56,8 +53,7 @@ 14 | | #[repr(packed(2))] 15 | | struct PackedN { 16 | | #[pin] -17 | | field: u32, -18 | | } +... | 19 | | } | |_^ | @@ -73,8 +69,7 @@ 14 | | #[repr(packed(2))] 15 | | struct PackedN { 16 | | #[pin] -17 | | field: u32, -18 | | } +... | 19 | | } | |_^ | @@ -90,8 +85,7 @@ 14 | | #[repr(packed(2))] 15 | | struct PackedN { 16 | | #[pin] -17 | | field: u32, -18 | | } +... | 19 | | } | |_^ |
diff --git a/crates/pin-project-lite/tests/ui/pin_project/unsupported.stderr b/crates/pin-project-lite/tests/ui/pin_project/unsupported.stderr index 909a671..c74041d 100644 --- a/crates/pin-project-lite/tests/ui/pin_project/unsupported.stderr +++ b/crates/pin-project-lite/tests/ui/pin_project/unsupported.stderr
@@ -1,4 +1,4 @@ -error: no rules expected the token `}` +error: no rules expected `}` --> tests/ui/pin_project/unsupported.rs:5:1 | 5 | / pin_project! { @@ -13,7 +13,7 @@ | ^^^^^^^^^^^^^^ = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) -error: no rules expected the token `}` +error: no rules expected `}` --> tests/ui/pin_project/unsupported.rs:5:1 | 5 | / pin_project! { @@ -28,7 +28,7 @@ | ^^^^^^^^^^^^^^ = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) -error: no rules expected the token `(` +error: no rules expected `(` --> tests/ui/pin_project/unsupported.rs:10:19 | 10 | struct Struct2(); //~ ERROR no rules expected the token `(` @@ -40,7 +40,7 @@ | { | ^ -error: no rules expected the token `;` +error: no rules expected `;` --> tests/ui/pin_project/unsupported.rs:14:19 | 14 | struct Struct3; //~ ERROR no rules expected the token `;` @@ -52,7 +52,7 @@ | { | ^ -error: no rules expected the token `(` +error: no rules expected `(` --> tests/ui/pin_project/unsupported.rs:19:10 | 19 | A(u8) @@ -64,7 +64,7 @@ | } | ^ -error: no rules expected the token `(` +error: no rules expected `(` --> tests/ui/pin_project/unsupported.rs:19:10 | 19 | A(u8) @@ -76,7 +76,7 @@ | } | ^ -error: no rules expected the token `union` +error: no rules expected identifier `union` --> tests/ui/pin_project/unsupported.rs:23:1 | 23 | / pin_project! { @@ -86,14 +86,14 @@ 27 | | } | |_^ no rules expected this token in macro call | -note: while trying to match `struct` +note: while trying to match keyword `struct` --> src/lib.rs | | [$(#[$attrs:meta])* $vis:vis struct $ident:ident] | ^^^^^^ = note: this error originates in the macro `$crate::__pin_project_expand` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) -error: no rules expected the token `union` +error: no rules expected identifier `union` --> tests/ui/pin_project/unsupported.rs:23:1 | 23 | / pin_project! { @@ -103,7 +103,7 @@ 27 | | } | |_^ no rules expected this token in macro call | -note: while trying to match `struct` +note: while trying to match keyword `struct` --> src/lib.rs | | [$(#[$attrs:meta])* $vis:vis struct $ident:ident]
diff --git a/crates/pin-project-lite/tests/ui/pinned_drop/call-drop-inner.stderr b/crates/pin-project-lite/tests/ui/pinned_drop/call-drop-inner.stderr index 93f9d19..54a9b54 100644 --- a/crates/pin-project-lite/tests/ui/pinned_drop/call-drop-inner.stderr +++ b/crates/pin-project-lite/tests/ui/pinned_drop/call-drop-inner.stderr
@@ -12,7 +12,6 @@ 7 | | #[pin] 8 | | field: u8, ... | -14 | | } 15 | | } | |_^ = note: this error originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
diff --git a/crates/pin-project-lite/tests/ui/pinned_drop/conditional-drop-impl.stderr b/crates/pin-project-lite/tests/ui/pinned_drop/conditional-drop-impl.stderr index b78ab75..c0df86d 100644 --- a/crates/pin-project-lite/tests/ui/pinned_drop/conditional-drop-impl.stderr +++ b/crates/pin-project-lite/tests/ui/pinned_drop/conditional-drop-impl.stderr
@@ -18,7 +18,6 @@ 18 | | struct PinnedDropImpl<T> { 19 | | #[pin] ... | -25 | | } 26 | | } | |_^ | @@ -30,7 +29,6 @@ 18 | | struct PinnedDropImpl<T> { 19 | | #[pin] ... | -25 | | } 26 | | } | |_^ = note: this error originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
diff --git a/pseudo_crate/Cargo.lock b/pseudo_crate/Cargo.lock index 39eaecd..ad547b6 100644 --- a/pseudo_crate/Cargo.lock +++ b/pseudo_crate/Cargo.lock
@@ -3920,9 +3920,9 @@ [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils"
diff --git a/pseudo_crate/Cargo.toml b/pseudo_crate/Cargo.toml index 419e9da..f75b612 100644 --- a/pseudo_crate/Cargo.toml +++ b/pseudo_crate/Cargo.toml
@@ -241,7 +241,7 @@ petgraph = "=0.6.5" pin-project = "=1.1.3" pin-project-internal = "=1.1.3" -pin-project-lite = "=0.2.15" +pin-project-lite = "=0.2.16" pin-utils = "=0.1.0" pkcs1 = "=0.7.5" pkcs8 = "=0.10.2"