forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#62730 - matthewjasper:hygiene-tests, r=petr…
…ochenkov Consolidate hygiene tests Some general clean-up extracted out from another PR
- Loading branch information
Showing
29 changed files
with
26 additions
and
42 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
src/test/run-make-fulldeps/pretty-expanded-hygiene/Makefile
This file was deleted.
Oops, something went wrong.
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)] | ||
|
6 changes: 6 additions & 0 deletions
6
...fulldeps/pretty-expanded-hygiene/input.rs → src/test/ui/hygiene/unpretty-debug.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
6 changes: 6 additions & 0 deletions
6
...ldeps/pretty-expanded-hygiene/input.pp.rs → src/test/ui/hygiene/unpretty-debug.stdout
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
...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.