Closed
Description
The rustc-tests
test suite current fails with:
$ cabal run rustc-tests
The version of `rustc' the tests will try to use is older than 1 month
info: using existing install for 'nightly-2018-04-19-x86_64-unknown-linux-gnu'
info: override toolchain for '/home/ryanglscott/Documents/Hacking/Haskell/language-rust' set to 'nightly-2018-04-19-x86_64-unknown-linux-gnu'
nightly-2018-04-19-x86_64-unknown-linux-gnu unchanged - rustc 1.27.0-nightly (ac3c2288f 2018-04-18)
Running tests with rustc 1.27.0-nightly (ac3c2288f 2018-04-18)
attributes.rs: [OK]
items.rs: [OK]
types.rs: [OK]
precedences.rs: [OK]
expressions.rs: [Failed]
ERROR (Parsing using our parser): parse failure at 51:15 (Syntax error: unexpected `return' (expected a literal, an identifier, '&&', '&', '(', '-', '::', '<', '<<', '[', '_', Self, auto, box, catch, crate, default, dyn, mut, ref, self, super, or union))
literals.rs: [OK]
statement-expressions.rs: [OK]
patterns.rs: [OK]
macros.rs: [OK]
statements.rs: [OK]
empty.rs: [OK]
let.rs: [OK]
Difference tests Total
Passed 11 11
Failed 1 1
Total 12 12
The failing test is this:
Perhaps we simply need to bump the rustc
version used in the test suite?
Metadata
Metadata
Assignees
Labels
No labels