-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Rehome 35 tests/ui/issues/
tests to other subdirectories under tests/ui/
#144089
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
Merged
+107
−49
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ fn m<M: Mat>() { | |
} | ||
fn main() { | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/39211 |
4 changes: 2 additions & 2 deletions
4
tests/ui/issues/issue-39211.stderr → ...arameter-in-const-expression-39211.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
tests/ui/cross-crate/exporting-impl-from-root-causes-ice-2472.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//@ run-pass | ||
//@ aux-build:exporting-impl-from-root-causes-ice-2472-b.rs | ||
|
||
|
||
extern crate exporting_impl_from_root_causes_ice_2472_b as lib; | ||
|
||
use lib::{S, T}; | ||
|
||
pub fn main() { | ||
let s = S(()); | ||
s.foo(); | ||
s.bar(); | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/2472 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
//~^ ERROR can't compare `Comparable` | ||
|
||
fn main() {} | ||
|
||
// https://github.com/rust-lang/rust/issues/34229 |
2 changes: 1 addition & 1 deletion
2
tests/ui/issues/issue-34229.stderr → ...es/invalid-derive-comparison-34229.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ pub fn main() { | |
Wrapper::new("Bob".to_string()).say_hi(); | ||
} | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/9446 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ enum Expr { //~ ERROR E0072 | |
} | ||
|
||
fn main() { } | ||
|
||
// https://github.com/rust-lang/rust/issues/32326 |
2 changes: 1 addition & 1 deletion
2
tests/ui/issues/issue-32326.stderr → ...i/enum/recursive-enum-memory-32326.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
tests/ui/iterators/iterator-adapter-undeclared-type-49544.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//@ aux-build:iterator-adapter-undeclared-type-49544.rs | ||
//@ check-pass | ||
|
||
extern crate iterator_adapter_undeclared_type_49544 as lib; | ||
use lib::foo; | ||
|
||
fn main() { | ||
let _ = foo(); | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/49544 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ fn g() { | |
} | ||
|
||
fn main() {} | ||
|
||
// https://github.com/rust-lang/rust/issues/34418 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,5 @@ pub fn crash() -> bool { | |
} | ||
|
||
fn main() {} | ||
|
||
// https://github.com/rust-lang/rust/issues/46964 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,5 @@ fn main() { | |
let pin = Pin(&mut unit); | ||
pin.poll(); | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/53843 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/ui/issues/issue-54062.stderr → ...rivate-field-access-in-mutex-54062.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
tests/ui/issues/issue-67552.stderr → ...e-impl-trait-iterator-by-ref-67552.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
error: reached the recursion limit while instantiating `rec::<&mut &mut &mut &mut &mut ...>` | ||
--> $DIR/issue-67552.rs:28:9 | ||
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:28:9 | ||
| | ||
LL | rec(identity(&mut it)) | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
note: `rec` defined here | ||
--> $DIR/issue-67552.rs:21:1 | ||
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:21:1 | ||
| | ||
LL | / fn rec<T>(mut it: T) | ||
LL | | where | ||
LL | | T: Iterator, | ||
| |________________^ | ||
= note: the full type name has been written to '$TEST_BUILD_DIR/issue-67552.long-type.txt' | ||
= note: the full type name has been written to '$TEST_BUILD_DIR/recursive-impl-trait-iterator-by-ref-67552.long-type.txt' | ||
|
||
error: aborting due to 1 previous error | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ fn main() { | |
let x = (); | ||
x | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/24353 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,5 @@ pub fn main() { | |
print_str_vector(node.content.clone()); | ||
|
||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/3389 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/ui/issues/issue-39089.stderr → ...s/for-binder-placement-error-39089.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ struct Vec<T> { | |
} | ||
|
||
fn main() {} | ||
|
||
// https://github.com/rust-lang/rust/issues/23281 |
6 changes: 3 additions & 3 deletions
6
tests/ui/issues/issue-23281.stderr → .../traits/dyn-trait-size-error-23281.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ impl Fooable for usize { | |
pub fn main() { | ||
2.yes(); | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/5321 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ fn foo<'a, T: Trait<'a>>(value: T::A) { | |
} | ||
|
||
fn main() { } | ||
|
||
// https://github.com/rust-lang/rust/issues/21174 |
2 changes: 1 addition & 1 deletion
2
tests/ui/issues/issue-21174.stderr → ...ciated-types-with-lifetimers-21174.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ fn main() { | |
let k = |x: i32| { x + 1 }; | ||
Fn::call(&k, (0,)); | ||
} | ||
|
||
// https://github.com/rust-lang/rust/issues/22789 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ pub unsafe fn g() { | |
} | ||
|
||
pub fn main() {} | ||
|
||
// https://github.com/rust-lang/rust/issues/7246 |
6 changes: 3 additions & 3 deletions
6
tests/ui/issues/issue-7246.stderr → ...le-code/unreachable-bool-read-7246.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: hm, I think I would still prefer having these comments at the top of the test, and keep two commits {move, edits}. It's fine for this PR, but I do still think it's nicer to have the doc comments / backlinks on start of file.