granite-rust/src/test/ui/imports
bors 0cb9899e78 Auto merge of #97892 - klensy:fix-spaces, r=oli-obk
diagnostics: remove trailing spaces

Remove few occurrences of trailing spaces and drive by fix of needless alloc of const string.
2022-06-17 17:30:16 +00: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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
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 resolve: Simplify treatment of ambiguity errors 2018-12-29 19:26:29 +03:00
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 Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
extern-crate-used.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
extern-prelude-extern-crate-absolute-expanded.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
extern-prelude-extern-crate-cfg.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
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 Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
extern-prelude-extern-crate-shadowing.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
gensymed.rs Make use of hygiene in AST passes 2019-09-05 15:07:16 +01:00
glob-conflict-cross-crate.rs diagnostics: Describe crate root modules in DefKind::Mod as "crate" 2019-08-10 23:17:20 +03:00
glob-conflict-cross-crate.stderr diagnostics: Describe crate root modules in DefKind::Mod as "crate" 2019-08-10 23:17:20 +03:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
import-from-missing.stderr Update tests 2019-03-11 23:10:26 +03:00
import-from.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-glob-0-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
import-glob-0.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-glob-0.stderr Update tests 2019-03-11 23:10:26 +03:00
import-glob-1.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-glob-circular.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-glob-circular.stderr Update tests 2019-03-11 23:10:26 +03:00
import-glob-crate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-in-block.rs Fix unused results from mem::replace 2020-04-17 13:59:14 -07:00
import-loop-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-loop-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
import-loop.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-loop.stderr Remove licenses 2018-12-25 21:08:33 -07:00
import-prefix-macro-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-rename.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-rpass.rs Move some tests to subdirectories 2020-12-07 02:25:09 +03:00
import-trailing-comma.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import-trait-method.rs Remove licenses 2018-12-25 21:08:33 -07:00
import-trait-method.stderr Update tests 2019-03-11 23:10:26 +03:00
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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import6.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import7.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
import8.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
imports.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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-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-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 Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53269.rs rustc: rename hir::def::Def to Res (short for "resolution"). 2019-05-03 22:50:19 +03:00
issue-53269.stderr suggest extern crate foo when failing to resolve use foo 2022-05-25 09:58:19 +09:00
issue-53512.rs Give built-in macros stable addresses in the standard library 2019-08-10 00:05:37 +03:00
issue-53512.stderr Give built-in macros stable addresses in the standard library 2019-08-10 00:05:37 +03:00
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 Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-55884-1.rs Add a couple more tests + address review comments 2018-11-18 13:58:40 +03:00
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 Stabilize uniform_paths 2019-01-12 16:18:55 +03:00
issue-56125.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
issue-56263.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57015.rs resolve: Never override real bindings with Def::Errs from error recovery 2018-12-29 03:04:25 +03:00
issue-57015.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-57539.rs resolve: Add a test for issue #57539 2019-01-13 00:15:23 +03:00
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
local-modularized-tricky-fail-1.rs Update tests 2020-01-09 21:23:12 +03:00
local-modularized-tricky-fail-1.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05: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 tests 2021-10-15 02:36:58 -05: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 Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
macro-paths.rs Remove licenses 2018-12-25 21:08:33 -07:00
macro-paths.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05:00
macros.rs Update tests 2020-01-09 21:23:12 +03:00
macros.stderr Edit error messages for rustc_resolve::AmbiguityKind variants 2021-10-25 20:33:07 -05: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 changing non-empty glob must import something to a lint 2019-10-28 00:57:25 +01:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
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 Always emit unresolved import errors and hide unused import lint 2019-09-08 11:11:26 -07:00
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 Omit unnecessary help to add #[cfg(test)] when already annotated 2022-05-17 06:50:07 +09:00
unused-imports-in-test-mode.stderr Omit unnecessary help to add #[cfg(test)] when already annotated 2022-05-17 06:50:07 +09:00
unused-imports-in-test-module.rs suggest adding a #[cfg(test)] to test modules 2021-12-16 11:48:58 +09:00
unused-imports-in-test-module.stderr suggest adding a #[cfg(test)] to test modules 2021-12-16 11:48:58 +09:00
unused-macro-use.rs Remove licenses 2018-12-25 21:08:33 -07:00
unused-macro-use.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unused.rs Remove licenses 2018-12-25 21:08:33 -07:00
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