rust/tests
Matthias Krüger e413c2e770
Rollup merge of #110259 - ndrewxie:issue-109964-fix-gitstuff, r=cjgillot
Added diagnostic for pin! macro in addition to Box::pin if Unpin isn't implemented

I made a PR earlier, but accidentally renamed a branch and that deleted the PR... sorry for the duplicate

Currently, if an operation on `Pin<T>` is performed that requires `T` to implement `Unpin`, the diagnostic suggestion is to use `Box::pin` ("note: consider using `Box::pin`").

This PR suggests pin! as well, as that's another valid way of pinning a value, and avoids a heap allocation. Appropriate diagnostic suggestions were included to highlight the difference in semantics (local pinning for pin! vs non-local for Box::pin).

Fixes #109964
2023-04-13 21:58:37 +02:00
..
assembly Add inline assembly support for m68k 2023-04-12 17:58:15 -07:00
auxiliary
codegen Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesleywiser 2023-04-13 01:51:27 +00:00
codegen-units Use unused_generic_params from crate metadata 2023-03-14 16:33:12 +00:00
debuginfo Fix function order in an msvc debuginfo test 2023-04-05 15:59:29 +00:00
incremental incr.comp.: Make sure dependencies are recorded when feeding queries during eval-always queries. 2023-04-04 14:38:46 +02:00
mir-opt Rollup merge of #110233 - nbdd0121:intrinsic, r=tmiasko 2023-04-13 21:58:37 +02:00
pretty Auto merge of #108148 - parthopdas:master, r=oli-obk 2023-03-20 03:24:27 +00:00
run-make Rollup merge of #109036 - chenyukang:yukang/fix-testcase, r=jyn514 2023-04-13 21:58:35 +02:00
run-make-fulldeps try to fix test-various 2023-04-02 17:54:24 -04:00
run-pass-valgrind
rustdoc Split out a separate feature gate for impl trait in associated types 2023-04-12 16:17:31 +00:00
rustdoc-gui Auto merge of #110252 - matthiaskrgr:rollup-ovaixra, r=matthiaskrgr 2023-04-12 22:19:29 +00:00
rustdoc-js rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-js-std rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-json Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
rustdoc-ui Rollup merge of #109810 - jyn514:rustdoc-opt-tests, r=TaKO8Ki 2023-04-12 22:04:32 +02:00
ui Rollup merge of #110259 - ndrewxie:issue-109964-fix-gitstuff, r=cjgillot 2023-04-13 21:58:37 +02:00
ui-fulldeps Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
COMPILER_TESTS.md