Ad
  • Default User Avatar

    For rust, even with all tests passing the test fails with this:

    warning: unnecessary parentheses around assigned value, #[warn(unused_parens)] on by default
      --> src/tests.rs:30:27
       |
    30 |         let dice_amount = (1 + seed % 10);
       |                           ^^^^^^^^^^^^^^^
    

    It looks like a problem with test cases' code.

    Looks like it can be bypassed with:

    #![allow(unused_parens)]