Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change all run-pass hygiene tests to
ui
tests
Change some tests to `check-pass` that are only testing name resolution.
- Loading branch information
1 parent
96234d5
commit 03178f3
Showing
26 changed files
with
14 additions
and
21 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
...s/hygiene/auxiliary/legacy_interaction.rs → ...i/hygiene/auxiliary/legacy_interaction.rs
This file contains 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,4 +1,3 @@ | ||
// run-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#[macro_export] | ||
|
1 change: 0 additions & 1 deletion
1
...st/run-pass/hygiene/auxiliary/my_crate.rs → src/test/ui/hygiene/auxiliary/my_crate.rs
This file contains 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,2 +1 @@ | ||
// run-pass | ||
pub fn f() {} |
1 change: 0 additions & 1 deletion
1
...s/hygiene/auxiliary/unhygienic_example.rs → ...i/hygiene/auxiliary/unhygienic_example.rs
This file contains 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,4 +1,3 @@ | ||
// run-pass | ||
#![crate_type = "lib"] | ||
|
||
extern crate my_crate; | ||
|
1 change: 0 additions & 1 deletion
1
...test/run-pass/hygiene/auxiliary/xcrate.rs → src/test/ui/hygiene/auxiliary/xcrate.rs
This file contains 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,4 +1,3 @@ | ||
// run-pass | ||
#![feature(decl_macro)] | ||
#![allow(unused)] | ||
|
||
|
This file contains 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 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 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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/test/run-pass/hygiene/issue-44128.rs → src/test/ui/hygiene/issue-44128.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
#![allow(unused_must_use)] | ||
#![feature(decl_macro)] | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/test/run-pass/hygiene/issue-47311.rs → src/test/ui/hygiene/issue-47311.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
2 changes: 1 addition & 1 deletion
2
src/test/run-pass/hygiene/issue-47312.rs → src/test/ui/hygiene/issue-47312.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
2 changes: 1 addition & 1 deletion
2
src/test/run-pass/hygiene/items.rs → src/test/ui/hygiene/items.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
This file contains 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
src/test/run-pass/hygiene/lexical.rs → src/test/ui/hygiene/lexical.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
This file contains 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.
2 changes: 1 addition & 1 deletion
2
src/test/run-pass/hygiene/trait_items.rs → src/test/ui/hygiene/trait_items-2.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
This file contains 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
src/test/run-pass/hygiene/ty_params.rs → src/test/ui/hygiene/ty_params.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
#![feature(decl_macro)] | ||
|
2 changes: 1 addition & 1 deletion
2
...n-pass/hygiene/wrap_unhygienic_example.rs → ...est/ui/hygiene/wrap_unhygienic_example.rs
This file contains 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,4 +1,4 @@ | ||
// run-pass | ||
// check-pass | ||
// ignore-pretty pretty-printing is unhygienic | ||
|
||
// aux-build:my_crate.rs | ||
|
File renamed without changes.