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

E0435, E0437 & E0438 New Error Format #35858

Merged
merged 1 commit into from
Aug 23, 2016
Merged

Conversation

shyamsundarb-arch
Copy link
Contributor

Part of #35801 , #35802 and #35803
r? @GuillaumeGomez

Hi! Please review the changes.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@sophiajt
Copy link
Contributor

Thanks for the PR (and for squashing)

Have you compiled and tested this PR? Our tester found that this code does not yet compile:

src/librustc_resolve/lib.rs:254:13: 260:95 error: mismatched types [E0308]

src/librustc_resolve/lib.rs:254             struct_span_err!(resolver.session,

                                            ^

src/librustc_resolve/lib.rs:254:13: 260:95 help: run `rustc --explain E0308` to see a detailed explanation

src/librustc_resolve/lib.rs:254:13: 260:95 note: expected type `errors::DiagnosticBuilder<'a>`

src/librustc_resolve/lib.rs:254:13: 260:95 note:    found type `()`

src/librustc_resolve/lib.rs:263:13: 269:95 error: mismatched types [E0308]

src/librustc_resolve/lib.rs:263             struct_span_err!(resolver.session,

                                            ^

src/librustc_resolve/lib.rs:263:13: 269:95 help: run `rustc --explain E0308` to see a detailed explanation

src/librustc_resolve/lib.rs:263:13: 269:95 note: expected type `errors::DiagnosticBuilder<'a>`

src/librustc_resolve/lib.rs:263:13: 269:95 note:    found type `()`

src/librustc_resolve/lib.rs:443:13: 447:99 error: mismatched types [E0308]

src/librustc_resolve/lib.rs:443             struct_span_err!(resolver.session,

                                            ^

src/librustc_resolve/lib.rs:443:13: 447:99 help: run `rustc --explain E0308` to see a detailed explanation

src/librustc_resolve/lib.rs:443:13: 447:99 note: expected type `errors::DiagnosticBuilder<'a>`

src/librustc_resolve/lib.rs:443:13: 447:99 note:    found type `()`

error: aborting due to 3 previous errors

You may want to have another look. Just ping me or @GuillaumeGomez when you're ready.

@shyamsundarb-arch
Copy link
Contributor Author

@jonathandturner Hi. Thanks for your patience with me. I have fixed the cause of errors. Hopefully it should get through.

@GuillaumeGomez
Copy link
Member

It doesn't coompile.

Update lib.rs
Update lib.rs
Update E0438.rs
Update E0437.rs
Update E0435.rs
@shyamsundarb-arch
Copy link
Contributor Author

Hopefully I compiled in local with the previous errors rectified. It should compile.

@shyamsundarb-arch
Copy link
Contributor Author

@GuillaumeGomez Kindly review changes.

@GuillaumeGomez
Copy link
Member

Thanks!

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Aug 22, 2016

📌 Commit 738b91e has been approved by GuillaumeGomez

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 22, 2016
…omez

E0435, E0437 & E0438 New Error Format

Part of rust-lang#35801 , rust-lang#35802 and rust-lang#35803
r? @GuillaumeGomez

Hi! Please review the changes.
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 22, 2016
…omez

E0435, E0437 & E0438 New Error Format

Part of rust-lang#35801 , rust-lang#35802 and rust-lang#35803
r? @GuillaumeGomez

Hi! Please review the changes.
bors added a commit that referenced this pull request Aug 22, 2016
@bors bors merged commit 738b91e into rust-lang:master Aug 23, 2016
@shyamsundarb-arch shyamsundarb-arch deleted the patch-1 branch August 23, 2016 11:04
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.

5 participants