Skip to content

getopts: format failure messages with Show #14884

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

Merged
merged 2 commits into from
Jun 14, 2014
Merged

Conversation

huonw
Copy link
Member

@huonw huonw commented Jun 14, 2014

No description provided.

huonw added 2 commits June 14, 2014 11:11
This obsoletes the old `to_err_msg` method. Replace

    println!("Error: {}", failure.to_err_msg())

    let string = failure.to_err_msg();

with

    println!("Error: {}", failure)

    let string = failure.to_str();

[breaking-change]
@bors bors closed this Jun 14, 2014
@bors bors merged commit 09eb95f into rust-lang:master Jun 14, 2014
@huonw huonw deleted the getoptsfail branch June 15, 2014 12:42
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 31, 2025
`ui_test` detects old style headers so it's redundant

changelog: none
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.

3 participants