rust/tests/ui/imports
Nilstrieb ddda3fa0b0
Rollup merge of #114166 - Enselic:libc-unavailable, r=Nilstrieb
Add regression test for resolving `--extern libc=test.rlib`

Closes #26043

I could not find a test for this particular use case. The closest I got was [`tests/ui/imports/issue-37887.rs`](https://github.com/rust-lang/rust/blob/master/tests/ui/imports/issue-37887.rs), but that is a regression test for a different use case (see https://github.com/rust-lang/rust/issues/37887).
2023-08-02 13:46:54 +02:00
..
auxiliary fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
extern-crate-self
import-crate-with-invalid-spans
issue-26873-multifile remove invalid ignore-pretty 2023-04-03 09:24:11 +02:00
issue-45829
absolute-paths-in-nested-use-groups.rs
absolute-paths-in-nested-use-groups.stderr
ambiguous-1.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-1.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-2.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-3.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-3.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-4-extern.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-4-extern.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-4.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-5.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-5.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-6.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-6.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-7.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-7.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-8.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-8.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-9.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-9.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-10.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-10.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-11.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-11.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-12.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-12.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-13.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-13.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-14.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-14.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-15.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-15.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-16.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-16.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-17.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
ambiguous-17.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
bad-import-in-nested.rs
bad-import-in-nested.stderr note -> help 2023-01-17 03:09:49 +00:00
bad-import-with-rename.rs
bad-import-with-rename.stderr
double-import.rs
double-import.stderr
duplicate.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
duplicate.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
export-glob-imports-target.rs
export-multi.rs
extern-crate-used.rs
extern-crate-used.stderr
extern-prelude-extern-crate-absolute-expanded.rs
extern-prelude-extern-crate-cfg.rs
extern-prelude-extern-crate-fail.rs
extern-prelude-extern-crate-fail.stderr
extern-prelude-extern-crate-pass.rs
extern-prelude-extern-crate-restricted-shadowing.rs
extern-prelude-extern-crate-restricted-shadowing.stderr
extern-prelude-extern-crate-shadowing.rs
extern-with-ambiguous-1.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
extern-with-ambiguous-1.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
extern-with-ambiguous-2.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
extern-with-ambiguous-3.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
gensymed.rs
glob-conflict-cross-crate.rs
glob-conflict-cross-crate.stderr
glob-cycles.rs
glob-resolve1.rs
glob-resolve1.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
glob-shadowing.rs
glob-shadowing.stderr
glob-use-std.rs
import2-rpass.rs
import2.rs
import2.stderr
import3-rpass.rs
import3.rs
import3.stderr
import4-rpass.rs
import4.rs
import4.stderr
import5.rs
import6.rs
import7.rs
import8.rs
import-after-macro-expand-1.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-2.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-3.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-4.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-4.stderr fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-5.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-6.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-7.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-after-macro-expand-8.rs fix(resolve): update the ambiguity glob binding as warning recursively 2023-07-29 00:19:50 +08:00
import-crate-var.rs
import-crate-var.stderr
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
import-loop-2.rs
import-loop-2.stderr
import-loop.rs
import-loop.stderr
import-prefix-macro-1.rs
import-prefix-macro-1.stderr preserve delim spans during macro_rules! expansion if able 2023-01-20 20:16:37 +01:00
import-prefix-macro-2.rs
import-prefix-macro-2.stderr
import-prefix-macro.rs
import-rename.rs
import-rpass.rs
import-trailing-comma.rs
import-trait-method.rs
import-trait-method.stderr
import.rs
import.stderr
imports.rs
inaccessible_type_aliases.rs
inaccessible_type_aliases.stderr
issue-1697.rs
issue-1697.stderr
issue-2937.rs
issue-2937.stderr
issue-4366-2.rs
issue-4366-2.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-4366.rs
issue-4366.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-4865-1.rs
issue-4865-2.rs
issue-4865-3.rs
issue-8208.rs
issue-8208.stderr
issue-8640.rs
issue-8640.stderr
issue-13404.rs
issue-13404.stderr
issue-18083.rs
issue-19498.rs
issue-19498.stderr
issue-24081.rs
issue-24081.stderr
issue-24883.rs
issue-25396.rs
issue-25396.stderr
issue-26886.rs
issue-26886.stderr
issue-26930.rs
issue-28134.rs
issue-28134.stderr
issue-28388-1.rs
issue-28388-1.stderr
issue-28388-2.rs
issue-28388-2.stderr
issue-30560.rs
issue-30560.stderr
issue-31212.rs
issue-31212.stderr
issue-32119.rs
issue-32222.rs
issue-32354-suggest-import-rename.fixed
issue-32354-suggest-import-rename.rs
issue-32354-suggest-import-rename.stderr
issue-32833.rs
issue-32833.stderr
issue-33464.rs
issue-33464.stderr
issue-36881.rs
issue-36881.stderr
issue-37887.rs
issue-37887.stderr
issue-38293.rs
issue-38293.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-45799-bad-extern-crate-rename-suggestion-formatting.fixed
issue-45799-bad-extern-crate-rename-suggestion-formatting.rs
issue-45799-bad-extern-crate-rename-suggestion-formatting.stderr
issue-47623.rs
issue-47623.stderr
issue-52891.fixed
issue-52891.rs
issue-52891.stderr
issue-53140.rs
issue-53269.rs
issue-53269.stderr
issue-53512.rs
issue-53512.stderr
issue-53565.rs
issue-53565.stderr
issue-55457.rs
issue-55457.stderr
issue-55811.rs
issue-55884-1.rs
issue-55884-1.stderr
issue-55884-2.rs Add warn-by-default lint for local binding shadowing exported glob re-export item 2023-05-27 18:49:07 +08:00
issue-55884-2.stderr Add warn-by-default lint for local binding shadowing exported glob re-export item 2023-05-27 18:49:07 +08:00
issue-56125.rs
issue-56125.stderr resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
issue-56263.rs
issue-57015.rs
issue-57015.stderr
issue-57539.rs
issue-57539.stderr resolve: Remove artificial import ambiguity errors 2023-06-29 13:42:58 +03:00
issue-59764.rs
issue-59764.stderr
issue-62767.rs
issue-68103.rs
issue-81413.rs fix(resolve): report unresolved imports firstly 2023-07-29 00:14:38 +08:00
issue-81413.stderr fix(resolve): report unresolved imports firstly 2023-07-29 00:14:38 +08:00
issue-85992.rs fix(resolve): skip assertion judgment when NonModule is dummy 2023-07-01 11:53:31 +08:00
issue-85992.stderr fix(resolve): skip assertion judgment when NonModule is dummy 2023-07-01 11:53:31 +08:00
issue-99695-b.fixed Move useless_anynous_reexport lint into unused_imports 2023-03-22 16:05:20 +01:00
issue-99695-b.rs Move useless_anynous_reexport lint into unused_imports 2023-03-22 16:05:20 +01:00
issue-99695-b.stderr diagnostics: add }; only if { was added too 2023-01-20 14:53:33 -07:00
issue-99695.fixed Move useless_anynous_reexport lint into unused_imports 2023-03-22 16:05:20 +01:00
issue-99695.rs Move useless_anynous_reexport lint into unused_imports 2023-03-22 16:05:20 +01:00
issue-99695.stderr diagnostics: suggest changing s@self::{macro}@::macro for exported 2023-01-20 14:52:24 -07:00
issue-109148.rs fix(resolve): not defined extern crate shadow_name 2023-05-23 13:14:34 +08:00
issue-109148.stderr fix(resolve): not defined extern crate shadow_name 2023-05-23 13:14:34 +08:00
issue-109343.rs fix(resolve): replace bindings to dummy for unresolved imports 2023-05-18 09:22:29 +08:00
issue-109343.stderr fix(resolve): replace bindings to dummy for unresolved imports 2023-05-18 09:22:29 +08:00
issue-113953.rs fix(resolve): skip panic when resolution is dummy 2023-07-25 01:34:03 +08:00
issue-113953.stderr fix(resolve): skip panic when resolution is dummy 2023-07-25 01:34:03 +08:00
local-modularized-tricky-fail-1.rs Lint ambiguous glob re-exports 2023-03-20 03:22:31 +08:00
local-modularized-tricky-fail-1.stderr Lint ambiguous glob re-exports 2023-03-20 03:22:31 +08:00
local-modularized-tricky-fail-2.rs
local-modularized-tricky-fail-2.stderr
local-modularized-tricky-pass-1.rs
local-modularized-tricky-pass-2.rs
local-modularized.rs
macro-paths.rs
macro-paths.stderr
macros.rs
macros.stderr
no-std-inject.rs
no-std-inject.stderr
overlapping_pub_trait.rs
overlapping_pub_trait.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
reexport-star.rs
reexports.rs
reexports.stderr
resolve_self_super_hint.rs
resolve_self_super_hint.stderr
resolve-other-libc.rs Add regression test for resolving --extern libc=test.rlib 2023-07-29 08:51:17 +02:00
resolve-other-libc.stderr Add regression test for resolving --extern libc=test.rlib 2023-07-29 08:51:17 +02:00
rfc-1560-warning-cycle.rs
rfc-1560-warning-cycle.stderr
shadow_builtin_macros.rs
shadow_builtin_macros.stderr
tool-mod-child.rs
tool-mod-child.stderr
unnamed_pub_trait.rs
unnamed_pub_trait.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
unresolved-imports-used.rs
unresolved-imports-used.stderr
unused-import-issue-87973.fixed
unused-import-issue-87973.rs
unused-import-issue-87973.stderr
unused-imports-in-test-mode.rs
unused-imports-in-test-mode.stderr
unused-imports-in-test-module.rs
unused-imports-in-test-module.stderr
unused-macro-use.rs
unused-macro-use.stderr
unused.rs
unused.stderr
use-mod.rs