Skip to content

Rehome tests in tests/ui/ to accurate subdirectories #142808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/ui/double-ref.rs → tests/ui/borrowck/double-ref.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(dead_code)]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Copy link
Member

@fmease fmease Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The illegal-sized-bounds directory is apparently meant for errors caused by trying to call methods on trait objects which are disabled via where Self: Sized — pretty niche (its entire content should be moved into the dyn-compatibility/ directory, probably).

I would move this test into trait-bounds/. Coincidentally I touched that file an hour ago in PR #142693, that's why I'm commenting on this at all.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading