Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rustc doc OS error 2 #145985

Closed as not planned
Closed as not planned
@kayo09

Description

Code

rustc doc

Reproduction Steps

I was trying to use rustc doc on a machine without a browser and I thought I could just pipe the output to curl and that's where I think things broke, previously it was "opening docs in browser" now it is "couldn't read doc: No such file or directory (os error 2)"

Expected Outcome

read the book in terminal

Actual Output

$ rustc doc
error: couldn't read `doc`: No such file or directory (os error 2)
error: aborting due to 1 previous error

Version

rustc 1.89.0 (2948388 2025年08月04日)

Additional Details

also please someone affirm this happens and I am not stupid going around piping things to curl like i did here ;)

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

        AltStyle によって変換されたページ (->オリジナル) /