Skip to content

Regression in astar-0.1.1, Rust 1.17 #40193

Closed
@brson

Description

@brson
brian@ip-10-145-43-250:~/dev/astar⟫ git remote -v
origin  https://github.com/TyOverby/astar (fetch)
origin  https://github.com/TyOverby/astar (push)
brian@ip-10-145-43-250:~/dev/astar⟫ git log -1
commit 1a2edf90779a317d61bd747d24ba948ded522590
Merge: 1dcc942 fa4d420
Author: Ty Overby <ty@pre-alpha.com>
Date:   Sun Dec 18 22:50:01 2016 -0800

    Merge pull request #7 from andrewcsmith/master

    A few simplifications
127 brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +nightly -Vv
rustc 1.17.0-nightly (be760566c 2017-02-28)
binary: rustc
commit-hash: be760566cf938d11d34c2f6bd90d8fd0f67c2344
commit-date: 2017-02-28
host: x86_64-unknown-linux-gnu
release: 1.17.0-nightly
LLVM version: 3.9

brian@ip-10-145-43-250:~/dev/astar⟫ cargo +nightly test
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading typed-arena v1.2.0
 Downloading num v0.1.37
 Downloading num-bigint v0.1.36
 Downloading num-iter v0.1.33
 Downloading num-complex v0.1.36
 Downloading num-traits v0.1.37
 Downloading num-integer v0.1.33
 Downloading num-rational v0.1.36
   Compiling num-traits v0.1.37
   Compiling libc v0.2.20
   Compiling rustc-serialize v0.3.22
   Compiling typed-arena v1.2.0
   Compiling rand v0.3.15
   Compiling num-integer v0.1.33
   Compiling num-iter v0.1.33
   Compiling num-complex v0.1.36
   Compiling num-bigint v0.1.36
   Compiling num-rational v0.1.36
   Compiling num v0.1.37
   Compiling astar v0.1.1 (file:///mnt2/dev/astar)
error[E0282]: type annotations needed
  --> src/test.rs:67:44
   |
67 |     assert_eq!(p, vec![(0, 0)].into_iter().collect());
   |                                            ^^^^^^^ cannot infer type for `B`

error: aborting due to previous error

error: Could not compile `astar`.
Build failed, waiting for other jobs to finish...
error: build failed

Not on 1.16.

cc @TyOverby

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions