Skip to content

Commit cd5214c

Browse files
Samy KacimiAlexander Regueiro
Samy Kacimi
authored and
Alexander Regueiro
committed
bless ui-fulldeps tests
1 parent 3381009 commit cd5214c

11 files changed

+20
-20
lines changed

src/test/ui-fulldeps/gated-plugin.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | #![plugin(attr_plugin_test)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: for more information, see https://github.com/rust-lang/rust/issues/29597
8-
= help: add #![feature(plugin)] to the crate attributes to enable
8+
= help: add `#![feature(plugin)]` to the crate attributes to enable
99

1010
error: aborting due to previous error
1111

src/test/ui-fulldeps/hash-stable-is-unstable.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LL | extern crate rustc_data_structures;
99
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1010
|
1111
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
12-
= help: add #![feature(rustc_private)] to the crate attributes to enable
12+
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
1313

1414
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
1515
--> $DIR/hash-stable-is-unstable.rs:5:1
@@ -18,7 +18,7 @@ LL | extern crate rustc;
1818
| ^^^^^^^^^^^^^^^^^^^
1919
|
2020
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
21-
= help: add #![feature(rustc_private)] to the crate attributes to enable
21+
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2222

2323
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2424
--> $DIR/hash-stable-is-unstable.rs:7:1
@@ -27,7 +27,7 @@ LL | extern crate rustc_macros;
2727
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2828
|
2929
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
30-
= help: add #![feature(rustc_private)] to the crate attributes to enable
30+
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
3131

3232
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
3333
--> $DIR/hash-stable-is-unstable.rs:10:5
@@ -36,7 +36,7 @@ LL | use rustc_macros::HashStable;
3636
| ^^^^^^^^^^^^^^^^^^^^^^^^
3737
|
3838
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
39-
= help: add #![feature(rustc_private)] to the crate attributes to enable
39+
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
4040

4141
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
4242
--> $DIR/hash-stable-is-unstable.rs:13:10
@@ -45,7 +45,7 @@ LL | #[derive(HashStable)]
4545
| ^^^^^^^^^^
4646
|
4747
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
48-
= help: add #![feature(rustc_private)] to the crate attributes to enable
48+
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
4949

5050
error: aborting due to 6 previous errors
5151

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ignore-stage1
33
// compile-flags: -D crate-not-okay
44

5-
#![feature(plugin)] //~ ERROR crate is not marked with #![crate_okay]
5+
#![feature(plugin)] //~ ERROR crate is not marked with `#![crate_okay]`
66
#![plugin(lint_for_crate)]
77

88
pub fn main() { }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: crate is not marked with #![crate_okay]
1+
error: crate is not marked with `#![crate_okay]`
22
--> $DIR/issue-15778-fail.rs:5:1
33
|
44
LL | / #![feature(plugin)]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ warning: item is named 'lintme'
44
LL | fn lintme() { }
55
| ^^^^^^^^^^^^^^^
66
|
7-
= note: #[warn(test_lint)] on by default
7+
= note: `#[warn(test_lint)]` on by default
88

99
warning: item is named 'pleaselintme'
1010
--> $DIR/lint-group-plugin.rs:10:1
1111
|
1212
LL | fn pleaselintme() { }
1313
| ^^^^^^^^^^^^^^^^^^^^^
1414
|
15-
= note: #[warn(please_lint)] on by default
15+
= note: `#[warn(please_lint)]` on by default
1616

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ note: lint level defined here
99
|
1010
LL | #![warn(unused)]
1111
| ^^^^^^
12-
= note: #[warn(dead_code)] implied by #[warn(unused)]
12+
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ warning: item is named 'lintme'
44
LL | fn lintme() { }
55
| ^^^^^^^^^^^^^^^
66
|
7-
= note: #[warn(test_lint)] on by default
7+
= note: `#[warn(test_lint)]` on by default
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ warning: item is named 'lintme'
44
LL | fn lintme() { }
55
| ^^^^^^^^^^^^^^^
66
|
7-
= note: #[warn(test_lint)] on by default
7+
= note: `#[warn(test_lint)]` on by default
88

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ warning: item is named 'lintme'
88
LL | fn lintme() {}
99
| ^^^^^^^^^^^^^^
1010
|
11-
= note: #[warn(clippy::test_lint)] on by default
11+
= note: `#[warn(clippy::test_lint)]` on by default
1212

1313
warning: function is never used: `lintme`
1414
--> $DIR/lint-tool-cmdline-allow.rs:10:1
@@ -21,5 +21,5 @@ note: lint level defined here
2121
|
2222
LL | #![warn(unused)]
2323
| ^^^^^^
24-
= note: #[warn(dead_code)] implied by #[warn(unused)]
24+
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
2525

src/test/ui-fulldeps/lint-tool-test.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: lint name `test_lint` is deprecated and may not have an effect in the f
44
LL | #![cfg_attr(foo, warn(test_lint))]
55
| ^^^^^^^^^ help: change it to: `clippy::test_lint`
66
|
7-
= note: #[warn(renamed_and_removed_lints)] on by default
7+
= note: `#[warn(renamed_and_removed_lints)]` on by default
88

99
warning: lint name `clippy_group` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
1010
--> $DIR/lint-tool-test.rs:11:9
@@ -24,7 +24,7 @@ warning: unknown lint: `this_lint_does_not_exist`
2424
LL | #[deny(this_lint_does_not_exist)]
2525
| ^^^^^^^^^^^^^^^^^^^^^^^^
2626
|
27-
= note: #[warn(unknown_lints)] on by default
27+
= note: `#[warn(unknown_lints)]` on by default
2828

2929
warning: lint name `test_lint` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore
3030
--> $DIR/lint-tool-test.rs:8:23
@@ -43,7 +43,7 @@ note: lint level defined here
4343
|
4444
LL | #![deny(clippy_group)]
4545
| ^^^^^^^^^^^^
46-
= note: #[deny(clippy::test_lint)] implied by #[deny(clippy::group)]
46+
= note: `#[deny(clippy::test_lint)]` implied by `#[deny(clippy::group)]`
4747

4848
error: item is named 'lintmetoo'
4949
--> $DIR/lint-tool-test.rs:22:5
@@ -56,7 +56,7 @@ note: lint level defined here
5656
|
5757
LL | #![deny(clippy_group)]
5858
| ^^^^^^^^^^^^
59-
= note: #[deny(clippy::test_group)] implied by #[deny(clippy::group)]
59+
= note: `#[deny(clippy::test_group)]` implied by `#[deny(clippy::group)]`
6060

6161
error: aborting due to 2 previous errors
6262

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ note: lint level defined here
1010
LL | #![deny(unused_attributes)]
1111
| ^^^^^^^^^^^^^^^^^
1212

13-
error: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
13+
error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
1414
--> $DIR/plugin-attr-register-deny.rs:14:5
1515
|
1616
LL | #[bar]

0 commit comments

Comments
 (0)