summary refs log tree commit diff
path: root/tests/ui/imports
AgeCommit message (Expand)AuthorLines
2024-04-18Silence unused_imports lint for redundant importsMichael Goulet-80/+16
2024-03-07Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgrbors-0/+148
2024-03-06Fix redundant import errors for preload extern crateyukang-0/+148
2024-03-06avoid overlapping privacy suggestion for single nested importsbohan-0/+37
2024-03-05Rollup merge of #121846 - bvanjoi:fix-121760, r=petrochenkovMatthias Krüger-0/+56
2024-03-01Rollup merge of #120305 - clubby789:unused-import-line, r=estebankMatthias Krüger-3/+0
2024-03-01Rollup merge of #121580 - Suyashtnt:issue-121502-fix, r=michaelwoeristerMatthias Krüger-6/+6
2024-03-01If suggestion would leave an empty line, delete itclubby789-3/+0
2024-03-01only compare ambiguity item that have hard errorbohan-0/+56
2024-02-28Rollup merge of #121226 - chenyukang:yukang-fix-import-alias, r=davidtwcoGuillaume Gomez-0/+61
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+1
2024-02-25make unused_imports less assertive in test modulesSuyashtnt-6/+6
2024-02-25Fix issues in suggesting importing extern crate pathsyukang-0/+61
2024-02-22Tweak wording of "implemented trait isn't imported" suggestionEsteban Küber-4/+4
2024-02-17Allow newly added non_local_definitions lint in testsUrgau-0/+1
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-200/+200
2024-02-09ast_lowering: Fix regression in `use ::{}` imports.Vadim Petrochenkov-0/+20
2024-01-31Don't hash lints differently to non-lints.Nicholas Nethercote-1/+0
2024-01-29Supress unhelpful diagnostics for unresolved top level attributesyukang-60/+8
2024-01-24add several resolution test casesbohan-3/+269
2024-01-21exclude unexported macro bindings from extern cratebohan-0/+16
2024-01-13Bless testsGeorge-lewis-0/+1
2023-12-04Structured `use` suggestion on privacy errorEsteban Küber-3/+48
2023-12-01vis note for no pub reexports glob importbohan-2/+44
2023-11-24Show number in error message even for one errorNilstrieb-58/+58
2023-10-26Tweak suggestion spans for invalid crate-level inner attributeEsteban Küber-2/+3
2023-10-25Rollup merge of #117009 - fmease:diag-disambig-sugg-crate, r=b-naberMatthias Krüger-6/+6
2023-10-22use visibility to check unused imports and delete some stmtsbohan-12/+72
2023-10-21on unresolved import disambiguate suggested path if it would collideLeón Orell Valerian Liehr-6/+6
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+3
2023-09-13resolve: determined binding after parent module macro expandbohan-69/+136
2023-08-31fix(resolve): update def if binding is warning ambiguitybohan-1/+1
2023-08-02Rollup merge of #114166 - Enselic:libc-unavailable, r=NilstriebNilstrieb-0/+22
2023-07-31Rollup merge of #113920 - bvanjoi:fix-81413, r=petrochenkovMatthias Krüger-0/+34
2023-07-29Add regression test for resolving `--extern libc=test.rlib`Martin Nordholts-0/+22
2023-07-29fix(resolve): update the ambiguity glob binding as warning recursivelybohan-7/+1257
2023-07-29fix(resolve): report unresolved imports firstlybohan-0/+34
2023-07-25fix(resolve): skip panic when resolution is dummybohan-0/+15
2023-07-01fix(resolve): skip assertion judgment when `NonModule` is dummybohan-0/+27
2023-06-29resolve: Remove artificial import ambiguity errorsVadim Petrochenkov-8/+12
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-3/+4
2023-05-23fix(resolve): not defined `extern crate shadow_name`bohan-0/+28
2023-05-18fix(resolve): replace bindings to dummy for unresolved importsbohan-0/+21
2023-04-12Special-case item attributes in the suggestion outputEsteban Küber-6/+0
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-6/+12
2023-04-03remove invalid ignore-prettyPietro Albini-1/+0
2023-03-23Rollup merge of #109487 - GuillaumeGomez:move-useless-reexport-check, r=petro...Matthias Krüger-4/+4
2023-03-23Rollup merge of #107880 - jieyouxu:issue-107563, r=petrochenkovMatthias Krüger-7/+10
2023-03-22Move useless_anynous_reexport lint into unused_importsGuillaume Gomez-4/+4
2023-03-20Lint ambiguous glob re-exports许杰友 Jieyou Xu (Joe)-7/+10