Skip to content

Unable to compile due to usage of unstable inspect method #103

@pionoor

Description

@pionoor

Description:
I encountered an issue while attempting to compile the project. The compilation fails due to the use of the unstable inspect method on Option/Result, which is currently only available in the nightly version of Rust.

Steps to Reproduce:

1.	Clone the repository.
2.	Attempt to compile the project using the stable Rust toolchain (e.g., rustc 1.70.0).
3.	Observe the compilation error.

Error Message:
error[E0658]: use of unstable library feature 'result_option_inspect' --> src/reader.rs:73:21 | 73 | self.peek().inspect(|_| { | ^^^^^^^ | = note: see issue #91345 <https://github.com/rust-lang/rust/issues/91345> for more information

Expected Behavior:
The project should compile successfully on the stable version of Rust.

Environment:

•	Rust Version: stable 1.70.0 (or your current stable version)
•	OS: [Your OS here, e.g., macOS Monterey 12.6.1]

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