Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getopts: example does not build #15636

Closed
wants to merge 1 commit into from
Closed

getopts: example does not build #15636

wants to merge 1 commit into from

Conversation

dmacvicar
Copy link

error: type `getopts::Fail_` does not implement any method in scope named `to_string`

Not needed. Fail_ implements Show.

error: type `getopts::Fail_` does not implement any method in scope named `to_string`

Not needed. Fail_ implements Show.
@sfackler
Copy link
Member

Sounds like your copy of Rust is out of date. to_str was renamed to to_string a couple of days ago.

@sfackler
Copy link
Member

(All examples in the documentation are built during tests so they should always work)

@dmacvicar
Copy link
Author

Can it be, I am using a packaged rust from some days ago, yes. Thanks.

@dmacvicar dmacvicar closed this Jul 12, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 21, 2024
…d, r=Veykril

Show which roots are being scanned in progress messages

This changes the `Roots Scanned` message to include the directory being scanned.

Before: `Roots Scanned 206/210 (98%)`
After: `Roots Scanned 206/210: .direnv (98%)`

This makes it a lot easier to tell that `rust-analyzer` isn't crashed, it's just trying to scan a huge directory.

See: rust-lang#12613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants