rust/src/test
Manish Goregaokar 75c239402c
Rollup merge of #103521 - chenyukang:yukang/fix-103451-avoid-hang, r=jackh726,wesleywiser
Avoid possible infinite  loop when next_point reaching the end of file

Fixes #103451
If we return a span with `lo` = `hi`, `span_to_snippet` will always get `Ok("")`, which may introduce infinite loop if we don't care.

This PR make `find_width_of_character_at_span` return `width` with 1, so that `span_to_snippet` will get an `Err`.
2022-11-08 21:03:53 -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 #103353 - wesleywiser:fix_lld_thinlto_msvc, r=michaelwoerister 2022-11-08 21:03:52 -05:00
codegen-units Bless cgu test. 2022-09-23 18:42:14 +02:00
debuginfo [debuginfo] Make debuginfo type names for slices and str consistent. 2022-10-31 15:43:44 +01:00
incremental Bless more tests 2022-11-05 18:05:45 +00:00
mir-opt Ban dashes in miropt test file names 2022-11-02 15:54:46 -07:00
pretty Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
run-make Add --print=split-debuginfo 2022-11-07 16:11:32 +01:00
run-make-fulldeps Rollup merge of #103681 - RalfJung:libtest-thread, r=thomcc 2022-11-04 18:52:26 +01:00
run-pass-valgrind Bless more tests 2022-11-05 18:05:45 +00:00
rustdoc Rollup merge of #103885 - fmease:rustdoc-various-cross-crate-reexport-fixes, r=cjgillot,GuillaumeGomez 2022-11-07 09:46:25 +09:00
rustdoc-gui Extend rust-logo GUI test to check there is no filter for other logos 2022-11-06 20:20:43 +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 #103521 - chenyukang:yukang/fix-103451-avoid-hang, r=jackh726,wesleywiser 2022-11-08 21:03:53 -05:00
ui-fulldeps Remove #[suggestion_*] attributes 2022-10-26 15:04:09 +02:00
COMPILER_TESTS.md