rust/src/test
Manish Goregaokar e2301154e3
Rollup merge of #103456 - scottmcm:fix-unchecked-shifts, r=scottmcm
`unchecked_{shl|shr}` should use `u32` as the RHS

The other shift methods, such as https://doc.rust-lang.org/nightly/std/primitive.u64.html#method.checked_shr and https://doc.rust-lang.org/nightly/std/primitive.i16.html#method.wrapping_shl, use `u32` for the shift amount.  That's consistent with other things, like `count_ones`, which also always use `u32` for a bit count, regardless of the size of the type.

This PR changes `unchecked_shl` and `unchecked_shr` to also use `u32` for the shift amount (rather than Self).

cc #85122, the `unchecked_math` tracking issue
2022-11-18 17:48:17 -05:00
..
assembly Add a codegen test for rust-lang/rust#96152 2022-11-06 16:56:47 -05:00
auxiliary
codegen Rollup merge of #103456 - scottmcm:fix-unchecked-shifts, r=scottmcm 2022-11-18 17:48:17 -05:00
codegen-units Bless cgu test. 2022-09-23 18:42:14 +02:00
debuginfo Merge basic blocks where possible when generating LLVM IR. 2022-11-16 15:46:39 +11:00
incremental Add a few known-bug tests 2022-11-13 18:27:37 -05:00
mir-opt Mark test as panic=abort. 2022-11-15 18:06:45 +00:00
pretty Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
run-make issue-36710 test can now run on cross-compiled targets 2022-11-17 09:37:34 +01:00
run-make-fulldeps run tests on the remote device even when the default address is used 2022-11-17 09:37:41 +01:00
run-pass-valgrind Bless more tests 2022-11-05 18:05:45 +00:00
rustdoc Auto merge of #104428 - matthiaskrgr:rollup-jo3078i, r=matthiaskrgr 2022-11-15 06:43:28 +00:00
rustdoc-gui Rollup merge of #104532 - GuillaumeGomez:migrate-tooltip-css, r=notriddle 2022-11-17 22:33:22 +01:00
rustdoc-js Add regression test for reexports in search results 2022-10-30 13:58:00 +01:00
rustdoc-js-std Update asrawfd.js. 2022-08-29 08:31:42 -07:00
rustdoc-json Add regression test for missing item from private mod in JSON output 2022-10-29 11:56:08 +02:00
rustdoc-ui Rollup merge of #104052 - TaKO8Ki:fix-103997, r=notriddle 2022-11-07 18:35:26 +05:30
ui Rollup merge of #102977 - lukas-code:is-sorted-hrtb, r=m-ou-se 2022-11-18 17:48:16 -05:00
ui-fulldeps Use ThinVec in ast::Path. 2022-11-17 13:56:38 +11:00
COMPILER_TESTS.md