Skip to content

Commit d1f95ef

Browse files
committed
--bless ui-fulldeps tests
1 parent 1b8ec97 commit d1f95ef

31 files changed

+210
-24
lines changed

src/test/ui-fulldeps/issue-15778-fail.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44

55
#![feature(plugin)] //~ ERROR crate is not marked with #![crate_okay]
66
#![plugin(lint_for_crate)]
7+
//~^ WARN use of deprecated attribute `plugin`
78

89
pub fn main() { }

src/test/ui-fulldeps/issue-15778-fail.stderr

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/issue-15778-fail.rs:6:1
3+
|
4+
LL | #![plugin(lint_for_crate)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
19
error: crate is not marked with #![crate_okay]
210
--> $DIR/issue-15778-fail.rs:5:1
311
|
412
LL | / #![feature(plugin)]
513
LL | | #![plugin(lint_for_crate)]
614
LL | |
15+
LL | |
716
LL | | pub fn main() { }
817
| |_________________^
918
|
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/issue-15778-pass.rs:8:1
3+
|
4+
LL | #![plugin(lint_for_crate_rpass)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/issue-40001.rs:6:1
3+
|
4+
LL | #![plugin(issue_40001_plugin)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+

src/test/ui-fulldeps/lint-group-plugin-deny-cmdline.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
// compile-flags: -D lint-me
44

55
#![feature(plugin)]
6+
67
#![plugin(lint_group_plugin_test)]
8+
//~^ WARN use of deprecated attribute `plugin`
79

810
fn lintme() { } //~ ERROR item is named 'lintme'
911

src/test/ui-fulldeps/lint-group-plugin-deny-cmdline.stderr

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/lint-group-plugin-deny-cmdline.rs:7:1
3+
|
4+
LL | #![plugin(lint_group_plugin_test)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
19
error: item is named 'lintme'
2-
--> $DIR/lint-group-plugin-deny-cmdline.rs:8:1
10+
--> $DIR/lint-group-plugin-deny-cmdline.rs:10:1
311
|
412
LL | fn lintme() { }
513
| ^^^^^^^^^^^^^^^
614
|
715
= note: `-D test-lint` implied by `-D lint-me`
816

917
error: item is named 'pleaselintme'
10-
--> $DIR/lint-group-plugin-deny-cmdline.rs:10:1
18+
--> $DIR/lint-group-plugin-deny-cmdline.rs:12:1
1119
|
1220
LL | fn pleaselintme() { }
1321
| ^^^^^^^^^^^^^^^^^^^^^

src/test/ui-fulldeps/lint-group-plugin.stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/lint-group-plugin.rs:6:1
3+
|
4+
LL | #![plugin(lint_group_plugin_test)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
19
warning: item is named 'lintme'
210
--> $DIR/lint-group-plugin.rs:9:1
311
|

src/test/ui-fulldeps/lint-plugin-cmdline-allow.stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/lint-plugin-cmdline-allow.rs:8:1
3+
|
4+
LL | #![plugin(lint_plugin_test)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
19
warning: function is never used: `lintme`
210
--> $DIR/lint-plugin-cmdline-allow.rs:10:1
311
|

src/test/ui-fulldeps/lint-plugin-deny-attr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#![feature(plugin)]
55
#![plugin(lint_plugin_test)]
6+
//~^ WARN use of deprecated attribute `plugin`
67
#![deny(test_lint)]
78

89
fn lintme() { } //~ ERROR item is named 'lintme'

src/test/ui-fulldeps/lint-plugin-deny-attr.stderr

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
2+
--> $DIR/lint-plugin-deny-attr.rs:5:1
3+
|
4+
LL | #![plugin(lint_plugin_test)]
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
6+
|
7+
= note: `#[warn(deprecated)]` on by default
8+
19
error: item is named 'lintme'
2-
--> $DIR/lint-plugin-deny-attr.rs:8:1
10+
--> $DIR/lint-plugin-deny-attr.rs:9:1
311
|
412
LL | fn lintme() { }
513
| ^^^^^^^^^^^^^^^
614
|
715
note: lint level defined here
8-
--> $DIR/lint-plugin-deny-attr.rs:6:9
16+
--> $DIR/lint-plugin-deny-attr.rs:7:9
917
|
1018
LL | #![deny(test_lint)]
1119
| ^^^^^^^^^

0 commit comments

Comments
 (0)