Code Monkey home page Code Monkey logo

type-inference's People

Contributors

bookowl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

skyne98 malowebi

type-inference's Issues

build failed!!!!!!!!!!

error[E0034]: multiple applicable items in scope
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/graph_impl/stable_graph/mod.rs:1172:19
|
1172 | self.iter.find_map(|(i, node)| {
| ^^^^^^^^ multiple find_map found
|
note: candidate #1 is defined in an impl of the trait IterUtilsExt for the type I
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/iter_utils.rs:5:5
|
5 | / fn find_map<F, R>(&mut self, mut f: F) -> Option
6 | | where F: FnMut(Self::Item) -> Option
| |_______________________________________________^
= note: candidate #2 is defined in an impl of the trait Iterator for the type Enumerate<I>
help: disambiguate the associated function for candidate #1
|
1172 | IterUtilsExt::find_map(&mut self.iter, |(i, node)| {
1173 | node.weight.as_ref().map(move |w| (node_index(i), w))
1174 | })
|
help: disambiguate the associated function for candidate #2
|
1172 | Iterator::find_map(&mut self.iter, |(i, node)| {
1173 | node.weight.as_ref().map(move |w| (node_index(i), w))
1174 | })
|

error[E0034]: multiple applicable items in scope
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/graph_impl/stable_graph/mod.rs:1355:19
|
1355 | self.iter.find_map(|(i, edge)|
| ^^^^^^^^ multiple find_map found
|
note: candidate #1 is defined in an impl of the trait IterUtilsExt for the type I
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/iter_utils.rs:5:5
|
5 | / fn find_map<F, R>(&mut self, mut f: F) -> Option
6 | | where F: FnMut(Self::Item) -> Option
| |_______________________________________________^
= note: candidate #2 is defined in an impl of the trait Iterator for the type Enumerate<I>
help: disambiguate the associated function for candidate #1
|
1355 | IterUtilsExt::find_map(&mut self.iter, |(i, edge)|
1356 | edge.weight.as_ref().map(move |weight| {
1357 | EdgeReference {
1358 | index: edge_index(i),
1359 | node: edge.node,
1360 | weight: weight,
...
help: disambiguate the associated function for candidate #2
|
1355 | Iterator::find_map(&mut self.iter, |(i, edge)|
1356 | edge.weight.as_ref().map(move |weight| {
1357 | EdgeReference {
1358 | index: edge_index(i),
1359 | node: edge.node,
1360 | weight: weight,
...

error[E0034]: multiple applicable items in scope
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/graph_impl/stable_graph/mod.rs:1519:19
|
1519 | self.iter.find_map(|(i, node)| {
| ^^^^^^^^ multiple find_map found
|
note: candidate #1 is defined in an impl of the trait IterUtilsExt for the type I
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/iter_utils.rs:5:5
|
5 | / fn find_map<F, R>(&mut self, mut f: F) -> Option
6 | | where F: FnMut(Self::Item) -> Option
| |_______________________________________________^
= note: candidate #2 is defined in an impl of the trait Iterator for the type Enumerate<I>
help: disambiguate the associated function for candidate #1
|
1519 | IterUtilsExt::find_map(&mut self.iter, |(i, node)| {
1520 | if node.weight.is_some() {
1521 | Some(node_index(i))
1522 | } else { None }
1523 | })
|
help: disambiguate the associated function for candidate #2
|
1519 | Iterator::find_map(&mut self.iter, |(i, node)| {
1520 | if node.weight.is_some() {
1521 | Some(node_index(i))
1522 | } else { None }
1523 | })
|

error[E0034]: multiple applicable items in scope
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/graph_impl/stable_graph/mod.rs:1565:19
|
1565 | self.iter.find_map(|(i, node)| {
| ^^^^^^^^ multiple find_map found
|
note: candidate #1 is defined in an impl of the trait IterUtilsExt for the type I
--> /home/yuyang/.cargo/registry/src/github.com-1ecc6299db9ec823/petgraph-0.4.9/src/iter_utils.rs:5:5
|
5 | / fn find_map<F, R>(&mut self, mut f: F) -> Option
6 | | where F: FnMut(Self::Item) -> Option
| |_______________________________________________^
= note: candidate #2 is defined in an impl of the trait Iterator for the type Enumerate<I>
help: disambiguate the associated function for candidate #1
|
1565 | IterUtilsExt::find_map(&mut self.iter, |(i, node)| {
1566 | if node.weight.is_some() {
1567 | Some(edge_index(i))
1568 | } else { None }
1569 | })
|
help: disambiguate the associated function for candidate #2
|
1565 | Iterator::find_map(&mut self.iter, |(i, node)| {
1566 | if node.weight.is_some() {
1567 | Some(edge_index(i))
1568 | } else { None }
1569 | })
|

error: aborting due to 4 previous errors

For more information about this error, try rustc --explain E0034.
error: could not compile petgraph

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.