/external/rust/crates/pin-project/tests/ui/pinned_drop/ |
D | invalid.rs | 2 use pin_project::{pin_project, pinned_drop}; 8 #[pinned_drop(foo)] //~ ERROR unexpected token 16 #[pinned_drop()] // Ok 23 use pin_project::{pin_project, pinned_drop}; 28 #[pinned_drop] 29 #[pinned_drop] //~ ERROR duplicate #[pinned_drop] attribute 36 use pin_project::{pin_project, pinned_drop}; 41 #[pinned_drop] 47 #[pinned_drop] 50 #[pinned_drop] [all …]
|
D | self.rs | 2 use pin_project::{pin_project, pinned_drop}; 10 #[pinned_drop] 26 use pin_project::{pin_project, pinned_drop}; 34 #[pinned_drop] 47 #[pinned_drop]
|
D | invalid.stderr | 4 8 | #[pinned_drop(foo)] //~ ERROR unexpected token 7 error: duplicate #[pinned_drop] attribute 10 29 | #[pinned_drop] //~ ERROR duplicate #[pinned_drop] attribute 13 error: #[pinned_drop] may only be used on implementation for the `PinnedDrop` trait 19 error: #[pinned_drop] may only be used on implementation for the `PinnedDrop` trait 121 error: method `pinned_drop` is not a member of trait `PinnedDrop 124 203 | fn pinned_drop(self: Pin<&mut Self>) {} //~ ERROR method `pinned_drop` is not a membe…
|
D | pinned-drop-no-attr-arg.rs | 1 use pin_project::{pin_project, pinned_drop}; 10 #[pinned_drop]
|
D | call-drop-inner.rs | 1 use pin_project::{pin_project, pinned_drop}; 9 #[pinned_drop]
|
D | unsafe-call.rs | 1 use pin_project::{pin_project, pinned_drop}; 10 #[pinned_drop]
|
D | conditional-drop-impl.rs | 1 use pin_project::{pin_project, pinned_drop}; 21 #[pinned_drop]
|
D | call-drop-inner.stderr | 12 9 | #[pinned_drop]
|
/external/rust/crates/pin-project/tests/ |
D | pinned_drop.rs | 5 use pin_project::{pin_project, pinned_drop}; 16 #[pinned_drop] in safe_project() 43 #[pinned_drop] in self_call() 63 #[pinned_drop] in self_ty() 83 #[pinned_drop] in self_ty() 106 #[pinned_drop] in self_ty() 138 #[pinned_drop] in self_inside_macro_containing_fn() 159 #[pinned_drop] in self_inside_macro_def() 180 #[pinned_drop] in self_arg_inside_macro_call() 221 #[pinned_drop] in self_ty_inside_macro_call() [all …]
|
D | pin_project.rs | 13 use pin_project::{pin_project, pinned_drop, UnsafeUnpin}; 356 #[pinned_drop] in overlapping_lifetime_names() 384 #[pinned_drop] in combine() 397 #[pinned_drop] in combine() 594 #[pinned_drop] in dst() 605 #[pinned_drop] in dst() 654 #[pinned_drop] in dst() 662 #[pinned_drop] in dst()
|
D | lint.rs | 104 #[::pin_project::pinned_drop] 113 #[::pin_project::pinned_drop] 134 #[::pin_project::pinned_drop] 324 #[::pin_project::pinned_drop] 333 #[::pin_project::pinned_drop] 354 #[::pin_project::pinned_drop]
|
/external/rust/crates/pin-project/examples/ |
D | README.md | 19 ### Manual implementation of `Drop` by `#[pinned_drop]` 21 - [example](pinned_drop.rs) 22 - [generated code](pinned_drop-expanded.rs) 23 - [`#[pinned_drop]` documentation](https://docs.rs/pin-project/1/pin_project/attr.pinned_drop.html)
|
D | pinned_drop.rs | 7 use pin_project::{pin_project, pinned_drop}; 16 #[pinned_drop]
|
D | pinned_drop-expanded.rs | 30 use pin_project::{pin_project, pinned_drop};
|
/external/rust/crates/pin-project-internal/src/ |
D | lib.rs | 23 mod pinned_drop; module 568 pub fn pinned_drop(args: TokenStream, input: TokenStream) -> TokenStream { in pinned_drop() function 570 pinned_drop::attribute(&args.into(), input).into() in pinned_drop()
|
/external/rust/crates/pin-project/tests/expand/pinned_drop/ |
D | tuple_struct.rs | 1 use pin_project::{pin_project, pinned_drop}; 7 #[pinned_drop]
|
D | struct.rs | 1 use pin_project::{pin_project, pinned_drop}; 11 #[pinned_drop]
|
D | enum.rs | 1 use pin_project::{pin_project, pinned_drop}; 15 #[pinned_drop]
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | args.rs | 63 pub(super) pinned_drop: Option<Span>, field 103 let mut pinned_drop = None; in parse() localVariable 126 if pinned_drop.replace(token.span()).is_some() { in parse() 192 if let Some(span) = pinned_drop { in parse() 217 Ok(Self { pinned_drop, unpin_impl, project, project_ref, project_replace }) in parse()
|
/external/rust/crates/pin-project/tests/ui/pin_project/ |
D | packed_sneaky-1.rs | 2 use pin_project::{pin_project, pinned_drop, UnsafeUnpin}; 28 #[pinned_drop]
|
D | conflict-drop.rs | 1 use pin_project::{pin_project, pinned_drop}; 22 #[pinned_drop]
|
/external/rust/crates/pin-project/tests/include/ |
D | basic-safe-part.rs | 56 #[::pin_project::pinned_drop] 65 #[::pin_project::pinned_drop] 86 #[::pin_project::pinned_drop]
|
/external/rust/crates/pin-project/ |
D | CHANGELOG.md | 199 - [Support `Self` in more syntax positions inside `#[pinned_drop]` impl.](https://github.com/taiki-… 230 - [Fixed an issue that users can call internal function generated by `#[pinned_drop]`.](https://git… 280 …- [Suppress `clippy::needless_pass_by_value` lint in generated code of `#[pinned_drop]`.](https://… 298 - [Suppress `clippy::needless_pass_by_value` lint in generated code of `#[pinned_drop]`.](https://g… 310 - [Support `Self` and `self` in more syntax positions inside `#[pinned_drop]` impl.](https://github… 326 - [Fixed use of `Self` in expression position inside `#[pinned_drop]` impl.](https://github.com/tai… 378 - Drop impls must be specified with `#[pinned_drop]` instead of via a normal `Drop` impl. ([#18](ht… 420 - [Changed #[pinned_drop] to trait implementation.](https://github.com/taiki-e/pin-project/pull/86) 423 #[pinned_drop] 495 - Drop impls must be specified with `#[pinned_drop]` instead of via a normal `Drop` impl.
|
/external/rust/crates/pin-project/src/ |
D | lib.rs | 88 pub use pin_project_internal::pinned_drop;
|
/external/rust/crates/pin-project-lite/ |
D | README.md | 105 pin-project supports this by [`#[pinned_drop]`][pinned-drop]. 118 [pinned-drop]: https://docs.rs/pin-project/1/pin_project/attr.pin_project.html#pinned_drop
|