Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Jan 29, 2019
1 parent 9bdf054 commit 0e2ad51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/feature-gates/feature-gate-rustc-attrs-1.rs
Expand Up @@ -5,4 +5,4 @@
#[rustc_variance] //~ ERROR the `#[rustc_variance]` attribute is just used for rustc unit tests and will never be stable
#[rustc_error] //~ ERROR the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable

fn main() {} //~ ERROR []
fn main() {}
11 changes: 2 additions & 9 deletions src/test/ui/feature-gates/feature-gate-rustc-attrs-1.stderr
Expand Up @@ -14,13 +14,6 @@ LL | #[rustc_error] //~ ERROR the `#[rustc_error]` attribute is just used for ru
|
= help: add #![feature(rustc_attrs)] to the crate attributes to enable

error[E0208]: []
--> $DIR/feature-gate-rustc-attrs-1.rs:8:1
|
LL | fn main() {} //~ ERROR []
| ^^^^^^^^^^^^

error: aborting due to 3 previous errors
error: aborting due to 2 previous errors

Some errors occurred: E0208, E0658.
For more information about an error, try `rustc --explain E0208`.
For more information about this error, try `rustc --explain E0658`.

0 comments on commit 0e2ad51

Please sign in to comment.