Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI failing #213

Closed
konsumlamm opened this issue Feb 12, 2020 · 1 comment
Closed

CI failing #213

konsumlamm opened this issue Feb 12, 2020 · 1 comment

Comments

@konsumlamm
Copy link
Contributor

The CI is failing on the latest nightly and beta (1.42) because the expected error message for test_suite/tests/compile-fail/private_flags.rs is different than on stable.

test tests/compile-fail/private_flags.rs ... mismatch

EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0603]: struct `Flags2` is private
  --> $DIR/private_flags.rs:19:26
   |
19 |     let flag2 = example::Flags2::FLAG_B;
   |                          ^^^^^^
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

ACTUAL OUTPUT:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0603]: struct `Flags2` is private
  --> $DIR/private_flags.rs:19:26
   |
19 |     let flag2 = example::Flags2::FLAG_B;
   |                          ^^^^^^ this struct is private
   |
note: the struct `Flags2` is defined here
  --> $DIR/private_flags.rs:10:5
   |
10 | /     bitflags! {
11 | |         struct Flags2: u32 {
12 | |             const FLAG_B = 0b00000010;
13 | |         }
14 | |     }
   | |_____^
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
@konsumlamm
Copy link
Contributor Author

Fixed in #232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant