Import pin-project 1.0.12 upstream upstream/1.0.12
authorRoy7Kim <myoungwoon.kim@samsung.com>
Mon, 20 Mar 2023 04:35:04 +0000 (13:35 +0900)
committerRoy7Kim <myoungwoon.kim@samsung.com>
Mon, 20 Mar 2023 04:35:04 +0000 (13:35 +0900)
commitc404270db6d632c9f7f404f549a7e9bc5f3e2113
tree9dd5ba177f0ee46b303850583232587af828f885
Import pin-project 1.0.12
207 files changed:
.cargo_vcs_info.json [new file with mode: 0644]
CHANGELOG.md [new file with mode: 0644]
Cargo.lock [new file with mode: 0644]
Cargo.toml [new file with mode: 0644]
Cargo.toml.orig [new file with mode: 0644]
LICENSE-APACHE [new file with mode: 0644]
LICENSE-MIT [new file with mode: 0644]
README.md [new file with mode: 0644]
examples/README.md [new file with mode: 0644]
examples/enum-default-expanded.rs [new file with mode: 0644]
examples/enum-default.rs [new file with mode: 0644]
examples/not_unpin-expanded.rs [new file with mode: 0644]
examples/not_unpin.rs [new file with mode: 0644]
examples/pinned_drop-expanded.rs [new file with mode: 0644]
examples/pinned_drop.rs [new file with mode: 0644]
examples/project_replace-expanded.rs [new file with mode: 0644]
examples/project_replace.rs [new file with mode: 0644]
examples/struct-default-expanded.rs [new file with mode: 0644]
examples/struct-default.rs [new file with mode: 0644]
examples/unsafe_unpin-expanded.rs [new file with mode: 0644]
examples/unsafe_unpin.rs [new file with mode: 0644]
src/lib.rs [new file with mode: 0644]
tests/README.md [new file with mode: 0644]
tests/auxiliary/mod.rs [new file with mode: 0644]
tests/cfg.rs [new file with mode: 0644]
tests/compiletest.rs [new file with mode: 0644]
tests/drop_order.rs [new file with mode: 0644]
tests/expand/default/enum.expanded.rs [new file with mode: 0644]
tests/expand/default/enum.rs [new file with mode: 0644]
tests/expand/default/struct.expanded.rs [new file with mode: 0644]
tests/expand/default/struct.rs [new file with mode: 0644]
tests/expand/default/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/default/tuple_struct.rs [new file with mode: 0644]
tests/expand/multifields/enum.expanded.rs [new file with mode: 0644]
tests/expand/multifields/enum.rs [new file with mode: 0644]
tests/expand/multifields/struct.expanded.rs [new file with mode: 0644]
tests/expand/multifields/struct.rs [new file with mode: 0644]
tests/expand/multifields/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/multifields/tuple_struct.rs [new file with mode: 0644]
tests/expand/naming/enum-all.expanded.rs [new file with mode: 0644]
tests/expand/naming/enum-all.rs [new file with mode: 0644]
tests/expand/naming/enum-mut.expanded.rs [new file with mode: 0644]
tests/expand/naming/enum-mut.rs [new file with mode: 0644]
tests/expand/naming/enum-none.expanded.rs [new file with mode: 0644]
tests/expand/naming/enum-none.rs [new file with mode: 0644]
tests/expand/naming/enum-own.expanded.rs [new file with mode: 0644]
tests/expand/naming/enum-own.rs [new file with mode: 0644]
tests/expand/naming/enum-ref.expanded.rs [new file with mode: 0644]
tests/expand/naming/enum-ref.rs [new file with mode: 0644]
tests/expand/naming/struct-all.expanded.rs [new file with mode: 0644]
tests/expand/naming/struct-all.rs [new file with mode: 0644]
tests/expand/naming/struct-mut.expanded.rs [new file with mode: 0644]
tests/expand/naming/struct-mut.rs [new file with mode: 0644]
tests/expand/naming/struct-none.expanded.rs [new file with mode: 0644]
tests/expand/naming/struct-none.rs [new file with mode: 0644]
tests/expand/naming/struct-own.expanded.rs [new file with mode: 0644]
tests/expand/naming/struct-own.rs [new file with mode: 0644]
tests/expand/naming/struct-ref.expanded.rs [new file with mode: 0644]
tests/expand/naming/struct-ref.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-all.expanded.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-all.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-mut.expanded.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-mut.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-none.expanded.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-none.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-own.expanded.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-own.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-ref.expanded.rs [new file with mode: 0644]
tests/expand/naming/tuple_struct-ref.rs [new file with mode: 0644]
tests/expand/not_unpin/enum.expanded.rs [new file with mode: 0644]
tests/expand/not_unpin/enum.rs [new file with mode: 0644]
tests/expand/not_unpin/struct.expanded.rs [new file with mode: 0644]
tests/expand/not_unpin/struct.rs [new file with mode: 0644]
tests/expand/not_unpin/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/not_unpin/tuple_struct.rs [new file with mode: 0644]
tests/expand/pinned_drop/enum.expanded.rs [new file with mode: 0644]
tests/expand/pinned_drop/enum.rs [new file with mode: 0644]
tests/expand/pinned_drop/struct.expanded.rs [new file with mode: 0644]
tests/expand/pinned_drop/struct.rs [new file with mode: 0644]
tests/expand/pinned_drop/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/pinned_drop/tuple_struct.rs [new file with mode: 0644]
tests/expand/project_replace/enum.expanded.rs [new file with mode: 0644]
tests/expand/project_replace/enum.rs [new file with mode: 0644]
tests/expand/project_replace/struct.expanded.rs [new file with mode: 0644]
tests/expand/project_replace/struct.rs [new file with mode: 0644]
tests/expand/project_replace/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/project_replace/tuple_struct.rs [new file with mode: 0644]
tests/expand/pub/enum.expanded.rs [new file with mode: 0644]
tests/expand/pub/enum.rs [new file with mode: 0644]
tests/expand/pub/struct.expanded.rs [new file with mode: 0644]
tests/expand/pub/struct.rs [new file with mode: 0644]
tests/expand/pub/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/pub/tuple_struct.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/enum.expanded.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/enum.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/struct.expanded.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/struct.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/tuple_struct.expanded.rs [new file with mode: 0644]
tests/expand/unsafe_unpin/tuple_struct.rs [new file with mode: 0644]
tests/expandtest.rs [new file with mode: 0644]
tests/include/basic-safe-part.rs [new file with mode: 0644]
tests/include/basic.rs [new file with mode: 0644]
tests/lint.rs [new file with mode: 0644]
tests/pin_project.rs [new file with mode: 0644]
tests/pinned_drop.rs [new file with mode: 0644]
tests/proper_unpin.rs [new file with mode: 0644]
tests/repr_packed.rs [new file with mode: 0644]
tests/ui/cfg/cfg_attr-resolve.rs [new file with mode: 0644]
tests/ui/cfg/cfg_attr-resolve.stderr [new file with mode: 0644]
tests/ui/cfg/cfg_attr-type-mismatch.rs [new file with mode: 0644]
tests/ui/cfg/cfg_attr-type-mismatch.stderr [new file with mode: 0644]
tests/ui/cfg/packed_sneaky-span-issue-1.rs [new file with mode: 0644]
tests/ui/cfg/packed_sneaky-span-issue-1.stderr [new file with mode: 0644]
tests/ui/cfg/packed_sneaky-span-issue-2.rs [new file with mode: 0644]
tests/ui/cfg/packed_sneaky-span-issue-2.stderr [new file with mode: 0644]
tests/ui/cfg/packed_sneaky.rs [new file with mode: 0644]
tests/ui/cfg/packed_sneaky.stderr [new file with mode: 0644]
tests/ui/cfg/unsupported.rs [new file with mode: 0644]
tests/ui/cfg/unsupported.stderr [new file with mode: 0644]
tests/ui/not_unpin/conflict-unpin.rs [new file with mode: 0644]
tests/ui/not_unpin/conflict-unpin.stderr [new file with mode: 0644]
tests/ui/not_unpin/impl-unsafe-unpin.rs [new file with mode: 0644]
tests/ui/not_unpin/impl-unsafe-unpin.stderr [new file with mode: 0644]
tests/ui/pin_project/add-attr-to-struct.rs [new file with mode: 0644]
tests/ui/pin_project/add-attr-to-struct.stderr [new file with mode: 0644]
tests/ui/pin_project/add-pinned-field.rs [new file with mode: 0644]
tests/ui/pin_project/add-pinned-field.stderr [new file with mode: 0644]
tests/ui/pin_project/conflict-drop.rs [new file with mode: 0644]
tests/ui/pin_project/conflict-drop.stderr [new file with mode: 0644]
tests/ui/pin_project/conflict-unpin.rs [new file with mode: 0644]
tests/ui/pin_project/conflict-unpin.stderr [new file with mode: 0644]
tests/ui/pin_project/impl-unsafe-unpin.rs [new file with mode: 0644]
tests/ui/pin_project/impl-unsafe-unpin.stderr [new file with mode: 0644]
tests/ui/pin_project/import_unnamed.rs [new file with mode: 0644]
tests/ui/pin_project/import_unnamed.stderr [new file with mode: 0644]
tests/ui/pin_project/invalid.rs [new file with mode: 0644]
tests/ui/pin_project/invalid.stderr [new file with mode: 0644]
tests/ui/pin_project/overlapping_unpin_struct.rs [new file with mode: 0644]
tests/ui/pin_project/overlapping_unpin_struct.stderr [new file with mode: 0644]
tests/ui/pin_project/override-priv-mod.rs [new file with mode: 0644]
tests/ui/pin_project/override-priv-mod.stderr [new file with mode: 0644]
tests/ui/pin_project/packed-enum.rs [new file with mode: 0644]
tests/ui/pin_project/packed-enum.stderr [new file with mode: 0644]
tests/ui/pin_project/packed-name-value.rs [new file with mode: 0644]
tests/ui/pin_project/packed-name-value.stderr [new file with mode: 0644]
tests/ui/pin_project/packed.rs [new file with mode: 0644]
tests/ui/pin_project/packed.stderr [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-1.rs [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-1.stderr [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-2.rs [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-2.stderr [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-3.rs [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-3.stderr [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-4.rs [new file with mode: 0644]
tests/ui/pin_project/packed_sneaky-4.stderr [new file with mode: 0644]
tests/ui/pin_project/private_in_public-enum.rs [new file with mode: 0644]
tests/ui/pin_project/private_in_public-enum.stderr [new file with mode: 0644]
tests/ui/pin_project/project_replace_unsized.rs [new file with mode: 0644]
tests/ui/pin_project/project_replace_unsized.stderr [new file with mode: 0644]
tests/ui/pin_project/project_replace_unsized_fn_params.rs [new file with mode: 0644]
tests/ui/pin_project/project_replace_unsized_fn_params.stderr [new file with mode: 0644]
tests/ui/pin_project/remove-attr-from-field.rs [new file with mode: 0644]
tests/ui/pin_project/remove-attr-from-field.stderr [new file with mode: 0644]
tests/ui/pin_project/remove-attr-from-struct.rs [new file with mode: 0644]
tests/ui/pin_project/remove-attr-from-struct.stderr [new file with mode: 0644]
tests/ui/pin_project/safe_packed_borrows.rs [new file with mode: 0644]
tests/ui/pin_project/safe_packed_borrows.stderr [new file with mode: 0644]
tests/ui/pin_project/unaligned_references.rs [new file with mode: 0644]
tests/ui/pin_project/unaligned_references.stderr [new file with mode: 0644]
tests/ui/pin_project/unpin_sneaky.rs [new file with mode: 0644]
tests/ui/pin_project/unpin_sneaky.stderr [new file with mode: 0644]
tests/ui/pin_project/visibility.rs [new file with mode: 0644]
tests/ui/pin_project/visibility.stderr [new file with mode: 0644]
tests/ui/pinned_drop/call-drop-inner.rs [new file with mode: 0644]
tests/ui/pinned_drop/call-drop-inner.stderr [new file with mode: 0644]
tests/ui/pinned_drop/conditional-drop-impl.rs [new file with mode: 0644]
tests/ui/pinned_drop/conditional-drop-impl.stderr [new file with mode: 0644]
tests/ui/pinned_drop/forget-pinned-drop-impl.rs [new file with mode: 0644]
tests/ui/pinned_drop/forget-pinned-drop-impl.stderr [new file with mode: 0644]
tests/ui/pinned_drop/invalid-self.rs [new file with mode: 0644]
tests/ui/pinned_drop/invalid-self.stderr [new file with mode: 0644]
tests/ui/pinned_drop/invalid.rs [new file with mode: 0644]
tests/ui/pinned_drop/invalid.stderr [new file with mode: 0644]
tests/ui/pinned_drop/pinned-drop-no-attr-arg.rs [new file with mode: 0644]
tests/ui/pinned_drop/pinned-drop-no-attr-arg.stderr [new file with mode: 0644]
tests/ui/pinned_drop/self.rs [new file with mode: 0644]
tests/ui/pinned_drop/self.stderr [new file with mode: 0644]
tests/ui/pinned_drop/unsafe-call.rs [new file with mode: 0644]
tests/ui/pinned_drop/unsafe-call.stderr [new file with mode: 0644]
tests/ui/unsafe_unpin/conflict-unpin.rs [new file with mode: 0644]
tests/ui/unsafe_unpin/conflict-unpin.stderr [new file with mode: 0644]
tests/ui/unstable-features/README.md [new file with mode: 0644]
tests/ui/unstable-features/marker_trait_attr-feature-gate.rs [new file with mode: 0644]
tests/ui/unstable-features/marker_trait_attr-feature-gate.stderr [new file with mode: 0644]
tests/ui/unstable-features/marker_trait_attr.rs [new file with mode: 0644]
tests/ui/unstable-features/marker_trait_attr.stderr [new file with mode: 0644]
tests/ui/unstable-features/negative_impls.rs [new file with mode: 0644]
tests/ui/unstable-features/negative_impls.stderr [new file with mode: 0644]
tests/ui/unstable-features/overlapping_marker_traits-feature-gate.rs [new file with mode: 0644]
tests/ui/unstable-features/overlapping_marker_traits-feature-gate.stderr [new file with mode: 0644]
tests/ui/unstable-features/overlapping_marker_traits.rs [new file with mode: 0644]
tests/ui/unstable-features/overlapping_marker_traits.stderr [new file with mode: 0644]
tests/ui/unstable-features/trivial_bounds-feature-gate.rs [new file with mode: 0644]
tests/ui/unstable-features/trivial_bounds-feature-gate.stderr [new file with mode: 0644]
tests/ui/unstable-features/trivial_bounds.rs [new file with mode: 0644]
tests/ui/unstable-features/trivial_bounds.stderr [new file with mode: 0644]
tests/unsafe_unpin.rs [new file with mode: 0644]