diff options
| author | flip1995 <uwdkn@student.kit.edu> | 2018-04-17 15:33:39 +0200 |
|---|---|---|
| committer | flip1995 <uwdkn@student.kit.edu> | 2018-05-02 12:05:13 +0200 |
| commit | 121abd0599f6fd056dca84fe1df724fb7822b355 (patch) | |
| tree | ac94e33099b35abc0bd5e7302419c4f2391793cd /src/test | |
| parent | 24a6284fcd1d40c0d8f8b58d29a672ec78cfa94b (diff) | |
| download | rust-121abd0599f6fd056dca84fe1df724fb7822b355.tar.gz rust-121abd0599f6fd056dca84fe1df724fb7822b355.zip | |
make it compile again
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/unknown-tool-name.rs | 4 | ||||
| -rw-r--r-- | src/test/compile-fail/unknown_tool_attributes-1.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/feature-gate-tool_attributes.stderr | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/test/compile-fail/unknown-tool-name.rs b/src/test/compile-fail/unknown-tool-name.rs index 0cb897917b4..c2192a21d90 100644 --- a/src/test/compile-fail/unknown-tool-name.rs +++ b/src/test/compile-fail/unknown-tool-name.rs @@ -10,7 +10,7 @@ #![feature(tool_attributes)] -#![foo::bar] //~ ERROR An unknown tool name found in scoped attributes: `foo::bar`. [E0693] +#![foo::bar] //~ ERROR an unknown tool name found in scoped attribute: `foo::bar`. [E0694] -#[foo::bar] //~ ERROR An unknown tool name found in scoped attributes: `foo::bar`. [E0693] +#[foo::bar] //~ ERROR an unknown tool name found in scoped attribute: `foo::bar`. [E0694] fn main() {} diff --git a/src/test/compile-fail/unknown_tool_attributes-1.rs b/src/test/compile-fail/unknown_tool_attributes-1.rs index fbc46219461..ba38c297a11 100644 --- a/src/test/compile-fail/unknown_tool_attributes-1.rs +++ b/src/test/compile-fail/unknown_tool_attributes-1.rs @@ -14,5 +14,5 @@ #[foo::bar] //~^ ERROR scoped attribute `foo::bar` is experimental (see issue #44690) [E0658] -//~^^ ERROR An unknown tool name found in scoped attributes: `foo::bar`. [E0693] +//~^^ ERROR an unknown tool name found in scoped attribute: `foo::bar`. [E0694] fn main() {} diff --git a/src/test/ui/feature-gate-tool_attributes.stderr b/src/test/ui/feature-gate-tool_attributes.stderr index 13307bd7133..da89c4a5ef6 100644 --- a/src/test/ui/feature-gate-tool_attributes.stderr +++ b/src/test/ui/feature-gate-tool_attributes.stderr @@ -1,10 +1,11 @@ error[E0658]: scoped attribute `rustfmt::skip` is experimental (see issue #44690) --> $DIR/feature-gate-tool_attributes.rs:12:5 | -12 | #[rustfmt::skip] //~ ERROR scoped attribute `rustfmt::skip` is experimental +LL | #[rustfmt::skip] //~ ERROR scoped attribute `rustfmt::skip` is experimental | ^^^^^^^^^^^^^^^^ | = help: add #![feature(tool_attributes)] to the crate attributes to enable error: aborting due to previous error +For more information about this error, try `rustc --explain E0658`. |
