Commit graph

20 commits

Author SHA1 Message Date
reddevilmidzy
1bd997a452 Cleaned up some tests
Split invalid-compile-flags into run-pass & invalid

Update tests/ui/README.md
2025-12-16 02:10:08 +09:00
Matthias Krüger
fa79ba65c5
Rollup merge of #149443 - reddevilmidzy:t6, r=Kivooeo
Tidying up UI tests [6/N]

> [!NOTE]
> Intermediate commits are intended to help review, but will be squashed add comment commit prior to merge.

part of rust-lang/rust#133895

removed directory  `tests/ui/trait-objects`,  `tests/ui/for`, `tests/ui/warnings`

`trait-objects` -> `traits/object`
`for` -> `for-loop-while` (except `for/issue-20605.rs` test. this relocated to `traits/dyn-iterator-deref-in-for-loop.rs`)
`warnings` -> `resolve`, `entry-point`

r? Kivooeo
2025-12-04 16:07:53 +01:00
Waffle Lapkin
140832aa59
update readme wrt never type tests 2025-12-02 11:07:42 +01:00
reddevilmidzy
ab9d0e0ab6 moved tests
updated `tests/ui/README.md`and `src/tools/tidy/src/issues.txt`
2025-12-02 11:13:37 +09:00
reddevilmidzy
77afccf73b moved and delete test
tests/ui/invalid-module-declaration/invalid-module-declaration.rs duplicated of tests/ui/modules/missing_non_modrs_mod_inline.rs
2025-12-01 15:35:17 +09:00
reddevilmidzy
ace4aebb6d Merge while with for-loop-while 2025-11-28 21:41:03 +09:00
reddevilmidzy
cd618a9ccb Merge missing_non_modrs with modules 2025-11-28 21:40:59 +09:00
reddevilmidzy
aa97acce62 Relocate qualified/qualified-path-params to
typeck/qualified-path-params.rs

merged test removed ui/qualified directory
2025-11-28 21:40:53 +09:00
reddevilmidzy
8e74c6b137 Relocate modules_and_files_visibility/mod_file_disambig.rs to
modules/mod_file_disambig.rs

add

fix
2025-11-28 21:40:35 +09:00
reddevilmidzy
bfc0c02043 Relocate macro_backtrace to macro and remove macro_backtrace 2025-11-28 13:12:15 +09:00
reddevilmidzy
a5dc701e74 Relocate some tests and remove fn-main directory
Relocate issues/issue-51022.rs to
entry-point/main-with-lifetime-param.rs

Relocate issue-50714.rs to entry-point/main-where-fn-bound.rs

Rename issue-118772.rs to main-with-invalid-signature.rs and delete
duplicate test

remove ui/entry-point/issue-118772.rs in issues.txt

Relocate fn-main/wrong-location.rs to entry-point/main-in-submodule.rs

Remove fn-main directory

Relocate issue-50688.rs to mismatched_types/array-len-is-closure.rs
2025-11-27 20:11:00 +09:00
Jo Bates
1ebf69d1b1 initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00
Kivooeo
01891d5544 remove hello world directory 2025-07-30 00:13:40 +05:00
Matthias Krüger
a08ced3856
Rollup merge of #144151 - Kivooeo:issue1, r=jieyouxu
`tests/ui/issues/`: The Issues Strike Back [1/N]

I believe I’ve finally brought [my program](https://github.com/Kivooeo/test-manager) to life -- it now handles multiple test moves in one go: plain moves first, then a gentle touch on each file depends on given options. The process should be much smoother now.

Of course, I won’t rush through everything in a few days -- that would be unkind to `@Oneirical.` I’ll pace myself. And also I can't have more than one such PR because `issues.txt` will conflict with previous parts after merging them which is not fun as well.

This PR is just that: first commit - moves; second - regression comments and the occasional .stderr reblesses, also issue.txt and tidy changes. Nothing special, but progress nonetheless. This is for the purpose of preserving test file history during restructuring

Part of https://github.com/rust-lang/rust/issues/133895.

r? `@jieyouxu`
2025-07-28 08:36:51 +02:00
Jakub Beránek
4ef18ab062
Allow pretty printing paths with -Zself-profile-events=args 2025-07-25 22:24:21 +02:00
Kivooeo
e9959aa74e comments 2025-07-25 20:38:54 +05:00
Oneirical
94c0cf891e Rename tests/ui/SUMMARY.md and update rustc dev guide on error-pattern 2025-07-24 17:09:42 -04:00
Jieyou Xu
762ecf8e00
tests/ui: remove outdated README
We should consolidate our test suite docs in rustc-dev-guide, and this
README is very outdated.
2025-04-12 15:18:01 +08:00
Xelph
c8e0724937 Fix typos on tests/ui/README.md 2024-12-02 03:43:50 -07:00
许杰友 Jieyou Xu (Joe)
e53d6dd35b
Implement infra support for migrating from // to //@ ui test directives 2024-02-16 19:40:23 +00:00