rust/src/test
bors 95561b336c Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuber
More robust fallback for `use` suggestion

Our old way to suggest where to add `use`s would first look for pre-existing `use`s in the relevant crate/module, and if there are *no* uses, it would fallback on trying to use another item as the basis for the suggestion.

But this was fragile, as illustrated in issue #87613

This PR instead identifies span of the first token after any inner attributes, and uses *that* as the fallback for the `use` suggestion.

Fix #87613
2022-03-15 03:56:33 +00:00
..
assembly short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
auxiliary
codegen short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
codegen-units
debuginfo Change char type in debuginfo to DW_ATE_UTF 2022-02-23 08:31:10 -08:00
incremental Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis" 2022-02-11 07:18:06 +00:00
mir-opt Disable the test on wasm32 2022-03-10 01:19:02 -08:00
pretty Bless use tree pretty print test 2022-02-07 21:51:05 -08:00
run-make Add --scrape-tests flags so rustdoc can scrape examples from tests 2022-02-11 21:48:59 -08:00
run-make-fulldeps Tie fp and neon 2022-03-14 10:54:21 +00:00
run-pass-valgrind
rustdoc Rollup merge of #94740 - GuillaumeGomez:unify-impl-blocks, r=notriddle 2022-03-10 19:00:08 +01:00
rustdoc-gui Auto merge of #94320 - GuillaumeGomez:sidebar-display, r=jsha 2022-03-13 07:56:08 +00:00
rustdoc-js rustdoc: add test case for multiple traits and erased names 2022-01-26 13:03:31 -07:00
rustdoc-js-std Update macro:print typed-query rustdoc test to include pin! results 2022-02-14 16:56:37 +01:00
rustdoc-json rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
rustdoc-ui Rollup merge of #94478 - GuillaumeGomez:macro-generated-intra-doc-link, r=notriddle 2022-03-02 04:30:08 +01:00
ui Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuber 2022-03-15 03:56:33 +00:00
ui-fulldeps rustc_errors: take self by value in DiagnosticBuilder::cancel. 2022-02-23 06:08:06 +00:00
COMPILER_TESTS.md