Skip to content

Run compiler callbacks even when there are errors.#31250

Merged
bors merged 4 commits into
rust-lang:masterfrom
nrc:more-aborts
Feb 2, 2016
Merged

Run compiler callbacks even when there are errors.#31250
bors merged 4 commits into
rust-lang:masterfrom
nrc:more-aborts

Conversation

@nrc

@nrc nrc commented Jan 28, 2016

Copy link
Copy Markdown
Member

With this PR we can save-analysis on code with errors, essential foundation work for IDE support.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Aatch

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

@nrc

nrc commented Jan 28, 2016

Copy link
Copy Markdown
Member Author

r? @nikomatsakis

@rust-highfive rust-highfive assigned nikomatsakis and unassigned Aatch Jan 28, 2016
@bors

bors commented Jan 29, 2016

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #30900) made this pull request unmergeable. Please resolve the merge conflicts.

Comment thread src/librustc/session/mod.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can we rename these variables to

let old_count = ...;
let new_errors = ... - old_count;

@nikomatsakis

Copy link
Copy Markdown
Contributor

r=me, needs rebase

@nrc

nrc commented Jan 31, 2016

Copy link
Copy Markdown
Member Author

@bors: r=@nikomatsakis

@bors

bors commented Jan 31, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit c0ac539 has been approved by @nikomatsakis

bors added a commit that referenced this pull request Jan 31, 2016
With this PR we can save-analysis on code with errors, essential foundation work for IDE support.
@bors

bors commented Jan 31, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit c0ac539 with merge 2a39e73...

@bors

bors commented Jan 31, 2016

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-mac-64-opt

@nrc

nrc commented Feb 1, 2016

Copy link
Copy Markdown
Member Author

@bors: r=@nikomatsakis

@bors

bors commented Feb 1, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 5a35c53 has been approved by @nikomatsakis

@bors

bors commented Feb 1, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 5a35c53 with merge 9a183da...

@bors

bors commented Feb 1, 2016

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-mac-64-opt

@nrc

nrc commented Feb 1, 2016

Copy link
Copy Markdown
Member Author

@bors: r=@nikomatsakis

@bors

bors commented Feb 1, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 185a0e5 has been approved by @nikomatsakis

bors added a commit that referenced this pull request Feb 1, 2016
With this PR we can save-analysis on code with errors, essential foundation work for IDE support.
@bors

bors commented Feb 1, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 185a0e5 with merge b94cd7a...

@bors bors merged commit 185a0e5 into rust-lang:master Feb 2, 2016
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Apr 8, 2016
This was a regression introduced by rust-lang#31250 where the compiler deferred returning
the results of compilation a little too late (after the `Stop` check was looked
at). This commit alters the stop point to first try to return an erroneous
`result` and only if it was successful return the sentinel `Err(0)`.

Closes rust-lang#31576
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 8, 2016
 This was a regression introduced by rust-lang#31250 where the compiler deferred returning
the results of compilation a little too late (after the `Stop` check was looked
at). This commit alters the stop point to first try to return an erroneous
`result` and only if it was successful return the sentinel `Err(0)`.

Closes rust-lang#31576
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Apr 11, 2016
This was a regression introduced by rust-lang#31250 where the compiler deferred returning
the results of compilation a little too late (after the `Stop` check was looked
at). This commit alters the stop point to first try to return an erroneous
`result` and only if it was successful return the sentinel `Err(0)`.

Closes rust-lang#31576
bors added a commit that referenced this pull request Apr 12, 2016
rustdoc: Fix testing no_run code blocks

This was a regression introduced by #31250 where the compiler deferred returning
the results of compilation a little too late (after the `Stop` check was looked
at). This commit alters the stop point to first try to return an erroneous
`result` and only if it was successful return the sentinel `Err(0)`.

Closes #31576
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