about summary refs log tree commit diff
path: root/tests/ui/cross-crate
AgeCommit message (Collapse)AuthorLines
2025-07-04Rollup merge of #142440 - Kivooeo:tf14, r=tgross35Jubilee-0/+79
`tests/ui`: A New Order [14/N] > [!NOTE] > > Intermediate commits are intended to help review, but will be squashed prior to merge. Some `tests/ui/` housekeeping, to trim down number of tests directly under `tests/ui/`. Part of rust-lang/rust#133895. r? `@jieyouxu`
2025-07-01cleaned up some testsKivooeo-7/+20
2025-07-01Give some UI tests more apropriate namesTrevor Gross-0/+66
Prepare for rework done by the rest of RUST-142440. Co-authored-by: Kivooeo <Kivooeo123@gmail.com>
2025-07-01cleaned up some testsKivooeo-10/+10
2025-06-30moved testsKivooeo-0/+36
2025-06-08cleaned up some testsKivooeo-0/+51
2025-06-03Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-5/+5
This allows for testing these tests on editions other than 2015
2025-05-03Move some tests out of tests/uimejrs-0/+84
2024-12-02Allow fn pointers comparisons lint in UI testsUrgau-0/+2
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-6/+0
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
2024-06-04Closures are recursively reachableTomasz Miąsko-0/+8
2024-05-20Move 100 entries from tests/ui into subdirsJubilee Young-0/+331
- Move super-fast-paren-parsing test into ui/parser - Move stmt_expr_attrs test into ui/feature-gates - Move macro tests into ui/macros - Move global_asm tests into ui/asm - Move env tests into ui/process - Move xcrate tests into ui/cross-crate - Move unop tests into ui/unop - Move backtrace tests into ui/backtrace - Move check-static tests into ui/statics - Move expr tests into ui/expr - Move optimization fuel tests into ui/fuel - Move ffi attribute tests into ui/ffi-attrs - Move suggestion tests into ui/suggestions - Move main tests into ui/fn-main - Move lint tests into ui/lint - Move repr tests into ui/repr - Move intrinsics tests into ui/intrinsics - Move tool lint tests into ui/tool-attributes - Move return tests into ui/return - Move pattern tests into ui/patttern - Move range tests into ui/range - Move foreign-fn tests into ui/foreign - Move orphan-check tests into ui/coherence - Move inference tests into ui/inference - Reduce ROOT_ENTRY_LIMIT
2024-03-14Test and implement reachability for trait objects and generic parameters of ↵Oli Scherer-0/+25
functions
2024-03-06compiletest: Add a `//@ needs-threads` directiveAlex Crichton-1/+1
This commit is extracted from #122036 and adds a new directive to the `compiletest` test runner, `//@ needs-threads`. This is intended to capture the need that a target must implement threading to execute a specific test, typically one that uses `std::thread`. This is primarily done for WebAssembly targets which currently do not have threads by default. This enables transitioning a lot of `//@ ignore-wasm*`-style ignores into a more self-documenting `//@ needs-threads` directive. Additionally the `wasm32-wasi-preview1-threads` target, for example, does actually have threads, but isn't tested in CI at this time. This change enables running these tests for that target, but not other wasm targets.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-53/+53
2023-08-22Contents of reachable statics is reachableTomasz Miąsko-0/+7
2023-01-11Move /src/test to /testsAlbert Larsan-0/+570