Use multiline Diagnostic for candidate in other module by estebank · Pull Request #39168 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation3 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

estebank

error[E0574]: expected struct, variant or union type, found enum `Result`
  --> $DIR/issue-16058.rs:19:9
   |
19 |         Result {
   |         ^^^^^^ not a struct, variant or union type
   |
   = help: possible better candidates are found in other modules, you can import them into scope:
             `use std::fmt::Result;`
             `use std::io::Result;`
             `use std::thread::Result;`

error: aborting due to previous error

@estebank

@rust-highfive

r? @nrc

(rust_highfive has picked a reviewer for you, use r? to override)

@petrochenkov

@bors

📌 Commit 2883186 has been approved by petrochenkov

alexcrichton added a commit to alexcrichton/rust that referenced this pull request

Jan 20, 2017

@alexcrichton

…rochenkov

Use multiline Diagnostic for candidate in other module

error[E0574]: expected struct, variant or union type, found enum `Result`
  --> $DIR/issue-16058.rs:19:9
   |
19 |         Result {
   |         ^^^^^^ not a struct, variant or union type
   |
   = help: possible better candidates are found in other modules, you can import them into scope:
             `use std::fmt::Result;`
             `use std::io::Result;`
             `use std::thread::Result;`

error: aborting due to previous error

bors added a commit that referenced this pull request

Jan 20, 2017

@bors

Rollup of 28 pull requests

bors added a commit that referenced this pull request

Jan 21, 2017

@bors

Rollup of 28 pull requests