Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move compile-fail-fulldeps tests to ui-fulldeps
- Loading branch information
1 parent
4c9c70a
commit 17ec290
Showing
49 changed files
with
444 additions
and
99 deletions.
There are no files selected for viewing
51 changes: 0 additions & 51 deletions
51
src/test/compile-fail-fulldeps/auxiliary/lint_group_plugin_test.rs
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/test/compile-fail-fulldeps/auxiliary/lint_plugin_test.rs
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
error[E0597]: `arena` does not live long enough | ||
--> $DIR/dropck_tarena_cycle_checked.rs:126:8 | ||
| | ||
LL | f(&arena); | ||
| ^^^^^ borrowed value does not live long enough | ||
LL | } //~^ ERROR `arena` does not live long enough | ||
| - `arena` dropped here while still borrowed | ||
| | ||
= note: values in a scope are dropped in the opposite order they are created | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0597`. |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
error[E0597]: `arena` does not live long enough | ||
--> $DIR/dropck_tarena_unsound_drop.rs:51:8 | ||
| | ||
LL | f(&arena); | ||
| ^^^^^ borrowed value does not live long enough | ||
LL | } //~^ ERROR `arena` does not live long enough | ||
| - `arena` dropped here while still borrowed | ||
| | ||
= note: values in a scope are dropped in the opposite order they are created | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0597`. |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,132 @@ | ||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:31:63 | ||
| | ||
LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } = | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:40:5 | ||
| | ||
LL | r.a_unstable_undeclared_pub; //~ ERROR use of unstable library feature | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0616]: field `b_crate` of struct `pub_and_stability::Record` is private | ||
--> $DIR/explore-issue-38412.rs:41:5 | ||
| | ||
LL | r.b_crate; //~ ERROR is private | ||
| ^^^^^^^^^ | ||
|
||
error[E0616]: field `c_mod` of struct `pub_and_stability::Record` is private | ||
--> $DIR/explore-issue-38412.rs:42:5 | ||
| | ||
LL | r.c_mod; //~ ERROR is private | ||
| ^^^^^^^ | ||
|
||
error[E0616]: field `d_priv` of struct `pub_and_stability::Record` is private | ||
--> $DIR/explore-issue-38412.rs:43:5 | ||
| | ||
LL | r.d_priv; //~ ERROR is private | ||
| ^^^^^^^^ | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:47:5 | ||
| | ||
LL | t.2; //~ ERROR use of unstable library feature | ||
| ^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private | ||
--> $DIR/explore-issue-38412.rs:48:5 | ||
| | ||
LL | t.3; //~ ERROR is private | ||
| ^^^ | ||
|
||
error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private | ||
--> $DIR/explore-issue-38412.rs:49:5 | ||
| | ||
LL | t.4; //~ ERROR is private | ||
| ^^^ | ||
|
||
error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private | ||
--> $DIR/explore-issue-38412.rs:50:5 | ||
| | ||
LL | t.5; //~ ERROR is private | ||
| ^^^ | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:54:7 | ||
| | ||
LL | r.unstable_undeclared_trait_method(); //~ ERROR use of unstable library feature | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:58:7 | ||
| | ||
LL | r.unstable_undeclared(); //~ ERROR use of unstable library feature | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0624]: method `pub_crate` is private | ||
--> $DIR/explore-issue-38412.rs:60:7 | ||
| | ||
LL | r.pub_crate(); //~ ERROR `pub_crate` is private | ||
| ^^^^^^^^^ | ||
|
||
error[E0624]: method `pub_mod` is private | ||
--> $DIR/explore-issue-38412.rs:61:7 | ||
| | ||
LL | r.pub_mod(); //~ ERROR `pub_mod` is private | ||
| ^^^^^^^ | ||
|
||
error[E0624]: method `private` is private | ||
--> $DIR/explore-issue-38412.rs:62:7 | ||
| | ||
LL | r.private(); //~ ERROR `private` is private | ||
| ^^^^^^^ | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:67:7 | ||
| | ||
LL | t.unstable_undeclared_trait_method(); //~ ERROR use of unstable library feature | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_undeclared' (see issue #38412) | ||
--> $DIR/explore-issue-38412.rs:71:7 | ||
| | ||
LL | t.unstable_undeclared(); //~ ERROR use of unstable library feature | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(unstable_undeclared)] to the crate attributes to enable | ||
|
||
error[E0624]: method `pub_crate` is private | ||
--> $DIR/explore-issue-38412.rs:73:7 | ||
| | ||
LL | t.pub_crate(); //~ ERROR `pub_crate` is private | ||
| ^^^^^^^^^ | ||
|
||
error[E0624]: method `pub_mod` is private | ||
--> $DIR/explore-issue-38412.rs:74:7 | ||
| | ||
LL | t.pub_mod(); //~ ERROR `pub_mod` is private | ||
| ^^^^^^^ | ||
|
||
error[E0624]: method `private` is private | ||
--> $DIR/explore-issue-38412.rs:75:7 | ||
| | ||
LL | t.private(); //~ ERROR `private` is private | ||
| ^^^^^^^ | ||
|
||
error: aborting due to 19 previous errors | ||
|
||
Some errors occurred: E0616, E0624, E0658. | ||
For more information about an error, try `rustc --explain E0616`. |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
error[E0658]: compiler plugins are experimental and possibly buggy (see issue #29597) | ||
--> $DIR/gated-plugin.rs:13:1 | ||
| | ||
LL | #![plugin(macro_crate_test)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: add #![feature(plugin)] to the crate attributes to enable | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0658`. |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
error: cannot find macro `quote_path!` in this scope | ||
--> $DIR/gated-quote.rs:65:13 | ||
| | ||
LL | let x = quote_path!(ecx, 3); | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_meta_item!` in this scope | ||
--> $DIR/gated-quote.rs:63:13 | ||
| | ||
LL | let x = quote_meta_item!(ecx, 3); | ||
| ^^^^^^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_block!` in this scope | ||
--> $DIR/gated-quote.rs:61:13 | ||
| | ||
LL | let x = quote_block!(ecx, 3); | ||
| ^^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_arg!` in this scope | ||
--> $DIR/gated-quote.rs:59:13 | ||
| | ||
LL | let x = quote_arg!(ecx, 3); | ||
| ^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_attr!` in this scope | ||
--> $DIR/gated-quote.rs:57:13 | ||
| | ||
LL | let x = quote_attr!(ecx, 3); | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_stmt!` in this scope | ||
--> $DIR/gated-quote.rs:55:13 | ||
| | ||
LL | let x = quote_stmt!(ecx, 3); | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_arm!` in this scope | ||
--> $DIR/gated-quote.rs:53:13 | ||
| | ||
LL | let x = quote_arm!(ecx, 3); | ||
| ^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_pat!` in this scope | ||
--> $DIR/gated-quote.rs:51:13 | ||
| | ||
LL | let x = quote_pat!(ecx, 3); | ||
| ^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_item!` in this scope | ||
--> $DIR/gated-quote.rs:49:13 | ||
| | ||
LL | let x = quote_item!(ecx, 3); | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_method!` in this scope | ||
--> $DIR/gated-quote.rs:47:13 | ||
| | ||
LL | let x = quote_method!(ecx, 3); | ||
| ^^^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_ty!` in this scope | ||
--> $DIR/gated-quote.rs:45:13 | ||
| | ||
LL | let x = quote_ty!(ecx, 3); | ||
| ^^^^^^^^ | ||
|
||
error: cannot find macro `quote_expr!` in this scope | ||
--> $DIR/gated-quote.rs:43:13 | ||
| | ||
LL | let x = quote_expr!(ecx, 3); | ||
| ^^^^^^^^^^ | ||
|
||
error: cannot find macro `quote_tokens!` in this scope | ||
--> $DIR/gated-quote.rs:41:13 | ||
| | ||
LL | let x = quote_tokens!(ecx, 3); | ||
| ^^^^^^^^^^^^ | ||
|
||
error: aborting due to 13 previous errors | ||
|
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
error: crate is not marked with #![crate_okay] | ||
--> $DIR/issue-15778-fail.rs:15:1 | ||
| | ||
LL | / #![feature(plugin)] //~ ERROR crate is not marked with #![crate_okay] | ||
LL | | #![plugin(lint_for_crate)] | ||
LL | | | ||
LL | | pub fn main() { } | ||
| |_________________^ | ||
| | ||
= note: requested on the command line with `-D crate-not-okay` | ||
|
||
error: aborting due to previous error | ||
|
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
error[E0574]: expected struct, variant or union type, found trait `Trait` | ||
--> $DIR/issue-18986.rs:18:9 | ||
| | ||
LL | Trait { x: 42 } => () //~ ERROR expected struct, variant or union type, found trait `Trait` | ||
| ^^^^^ not a struct, variant or union type | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0574`. |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: expected unsuffixed literal or identifier, found a | ||
--> $DIR/issue-48941.rs:20:24 | ||
| | ||
LL | #[noop_attribute("hi", rank = a)] //~ ERROR expected unsuffixed literal or identifier, found a | ||
| ^^^^ | ||
|
||
error: expected unsuffixed literal or identifier, found = | ||
--> $DIR/issue-48941.rs:23:27 | ||
| | ||
LL | #[noop_attribute("/user", data= = "<user")] //~ ERROR literal or identifier | ||
| ^^^^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
File renamed without changes.
Oops, something went wrong.