rust/src/test/ui/imports
Yiming Lei bd12d151ee add function to tell if the current ambiguity error matches a previous one in ambiguity_errors
if 2 errors of the kind and ident and span of the ident, b1, b2 and misc1 misc2 are the same
then these 2 ambiguity errors matched
prevent identical ambiguity error from pushing into vector of ambiguity_errors
this will fix #105177
2022-12-19 08:38:05 -08:00
..
auxiliary Test for issue-86035 2021-12-20 19:50:06 -08:00
extern-crate-self Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
import-crate-with-invalid-spans
issue-26873-multifile Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-45829 diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
absolute-paths-in-nested-use-groups.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
absolute-paths-in-nested-use-groups.stderr Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
double-import.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
double-import.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
duplicate.rs
duplicate.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
export-glob-imports-target.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
export-multi.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
extern-crate-used.rs
extern-crate-used.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
extern-prelude-extern-crate-absolute-expanded.rs
extern-prelude-extern-crate-cfg.rs
extern-prelude-extern-crate-fail.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
extern-prelude-extern-crate-fail.stderr Bless tests 2021-10-15 02:36:58 -05:00
extern-prelude-extern-crate-pass.rs
extern-prelude-extern-crate-restricted-shadowing.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
extern-prelude-extern-crate-restricted-shadowing.stderr Make some diagnostics not depend on the source of what they reference being available 2022-12-13 09:48:22 +00:00
extern-prelude-extern-crate-shadowing.rs
gensymed.rs
glob-conflict-cross-crate.rs
glob-conflict-cross-crate.stderr
glob-cycles.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
glob-resolve1.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
glob-resolve1.stderr Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
glob-shadowing.rs
glob-shadowing.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
glob-use-std.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
import-crate-var.rs Remove // check-pass for ui/import/import-crate-var.rs 2020-01-02 11:59:32 +02:00
import-crate-var.stderr Bless tests 2021-10-15 02:36:58 -05:00
import-from-missing.rs
import-from-missing.stderr
import-from.rs
import-glob-0-rpass.rs
import-glob-0.rs
import-glob-0.stderr
import-glob-1.rs
import-glob-circular.rs
import-glob-circular.stderr
import-glob-crate.rs
import-in-block.rs Fix unused results from mem::replace 2020-04-17 13:59:14 -07:00
import-loop-2.rs
import-loop-2.stderr
import-loop.rs
import-loop.stderr
import-prefix-macro-1.rs
import-prefix-macro-1.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
import-prefix-macro-2.rs
import-prefix-macro-2.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
import-prefix-macro.rs
import-rename.rs
import-rpass.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import-trailing-comma.rs
import-trait-method.rs
import-trait-method.stderr
import.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import2-rpass.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import2.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import2.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import3-rpass.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import3.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import3.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
import4-rpass.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import4.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import4.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import5.rs
import6.rs
import7.rs
import8.rs
imports.rs
inaccessible_type_aliases.rs fix typo in note about multiple inaccessible type aliases 2022-07-05 21:21:12 -04:00
inaccessible_type_aliases.stderr fix typo in note about multiple inaccessible type aliases 2022-07-05 21:21:12 -04:00
issue-1697.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-1697.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-2937.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-2937.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4366-2.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4366-2.stderr Improve diagnostics for inaccessible items 2021-09-26 19:22:20 +02:00
issue-4366.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4366.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4865-1.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4865-2.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-4865-3.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-8208.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-8208.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-8640.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-8640.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-13404.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-13404.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-18083.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-19498.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-19498.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-24081.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-24081.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-24883.rs Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
issue-25396.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-25396.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-26886.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-26886.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-26930.rs Move tests 2022-12-11 19:43:42 -03:00
issue-28134.rs Update invalid crate attributes, add help message 2021-12-03 18:38:32 +00:00
issue-28134.stderr Update invalid crate attributes, add help message 2021-12-03 18:38:32 +00:00
issue-28388-1.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-28388-1.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-28388-2.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-28388-2.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-30560.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-30560.stderr Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
issue-31212.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-31212.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-32119.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-32222.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-32354-suggest-import-rename.fixed Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-32354-suggest-import-rename.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-32354-suggest-import-rename.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-32833.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-32833.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-33464.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-33464.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-36881.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-36881.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-37887.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-37887.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-38293.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-38293.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-45799-bad-extern-crate-rename-suggestion-formatting.fixed Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-45799-bad-extern-crate-rename-suggestion-formatting.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-47623.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-47623.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-52891.fixed Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-52891.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-52891.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
issue-53140.rs
issue-53269.rs
issue-53269.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-53512.rs
issue-53512.stderr
issue-53565.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-53565.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-55457.rs Update tests 2020-01-09 21:23:12 +03:00
issue-55457.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-55811.rs
issue-55884-1.rs
issue-55884-1.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
issue-55884-2.rs resolve: Say "import" when reporting private imports 2020-01-16 21:59:11 +03:00
issue-55884-2.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
issue-56125.rs
issue-56125.stderr suggest candidates for unresolved import 2022-10-10 11:14:32 +08:00
issue-56263.rs
issue-57015.rs
issue-57015.stderr suggest candidates for unresolved import 2022-10-10 11:14:32 +08:00
issue-57539.rs
issue-57539.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
issue-59764.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
issue-59764.stderr Auto merge of #97892 - klensy:fix-spaces, r=oli-obk 2022-06-17 17:30:16 +00:00
issue-62767.rs Revert "Revert "resolve: Avoid "self-confirming" import resolutions in one more case"" 2020-11-06 11:22:13 -05:00
issue-68103.rs Move some tests to more reasonable directories 2022-06-21 09:33:14 -03:00
local-modularized-tricky-fail-1.rs add function to tell if the current ambiguity error matches a previous one in ambiguity_errors 2022-12-19 08:38:05 -08:00
local-modularized-tricky-fail-1.stderr add function to tell if the current ambiguity error matches a previous one in ambiguity_errors 2022-12-19 08:38:05 -08:00
local-modularized-tricky-fail-2.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
local-modularized-tricky-fail-2.stderr bless ui tests 2022-10-01 10:03:06 +00:00
local-modularized-tricky-pass-1.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
local-modularized-tricky-pass-2.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
local-modularized.rs
macro-paths.rs
macro-paths.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
macros.rs add function to tell if the current ambiguity error matches a previous one in ambiguity_errors 2022-12-19 08:38:05 -08:00
macros.stderr add function to tell if the current ambiguity error matches a previous one in ambiguity_errors 2022-12-19 08:38:05 -08:00
no-std-inject.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
no-std-inject.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
overlapping_pub_trait.rs remove find_use_placement 2022-03-31 17:20:03 -04:00
overlapping_pub_trait.stderr Fixup tests for issue-86035 2021-12-20 19:53:31 -08:00
reexport-star.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
reexports.rs
reexports.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
resolve_self_super_hint.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
resolve_self_super_hint.stderr Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
rfc-1560-warning-cycle.rs
rfc-1560-warning-cycle.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
shadow_builtin_macros.rs
shadow_builtin_macros.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
tool-mod-child.rs Fix ICE with use clippy:🅰️:b; 2021-03-21 14:20:28 -07:00
tool-mod-child.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
unnamed_pub_trait.rs remove find_use_placement 2022-03-31 17:20:03 -04:00
unnamed_pub_trait.stderr Fixup tests for issue-86035 2021-12-20 19:53:31 -08:00
unresolved-imports-used.rs
unresolved-imports-used.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
unused-import-issue-87973.fixed Add test or unused import removal suggestion with attributes. 2021-08-12 17:35:57 +02:00
unused-import-issue-87973.rs Add test or unused import removal suggestion with attributes. 2021-08-12 17:35:57 +02:00
unused-import-issue-87973.stderr Add test or unused import removal suggestion with attributes. 2021-08-12 17:35:57 +02:00
unused-imports-in-test-mode.rs add #[test] to functions in test modules 2022-07-08 10:16:28 +09:00
unused-imports-in-test-mode.stderr add #[test] to functions in test modules 2022-07-08 10:16:28 +09:00
unused-imports-in-test-module.rs add #[test] to functions in test modules 2022-07-08 10:16:28 +09:00
unused-imports-in-test-module.stderr add #[test] to functions in test modules 2022-07-08 10:16:28 +09:00
unused-macro-use.rs
unused-macro-use.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unused.rs
unused.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
use-mod.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00