Skip to content

Error detecting variable type #5542

@shootingsyh

Description

@shootingsyh

Sorry I didn't get a clear repro here.
Here is the file containing the problem: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=073305de6384df0e7ba6e11bdf798189 at line 80.

Or you may download git project at https://github.com/shootingsyh/rxstream, and open vs code with rust plugin and rust-analyser setup. See file with_latest_from.rs.

queued_source is a pin project field, and should be of type Option. When calling the Option::take function, rust-analyser think it is a stream and expect it to have one argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions