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

fix span for errors E0537, E0535 & E0536 #36354

Merged
merged 1 commit into from
Sep 13, 2016
Merged

Conversation

mikhail-m1
Copy link
Contributor

fix #36182 as part of #35233

@rust-highfive
Copy link
Collaborator

r? @nrc

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

@mikhail-m1
Copy link
Contributor Author

r? @jonathandturner

@rust-highfive rust-highfive assigned sophiajt and unassigned nrc Sep 8, 2016
@sophiajt
Copy link
Contributor

sophiajt commented Sep 9, 2016

@mikhail-m1 - since you're fixing spans, can you move some of the tests you're updating to src/test/ui? You can look around there to see how it works, but it's pretty simple. There's a corresponding .stderr for each test that matches with what the compiler would output.

You can run the UI tests with:

python src/bootstrap/bootstrap.py --step check-ui --stage 1

@mikhail-m1
Copy link
Contributor Author

@jonathandturner I'll fix it

@sophiajt
Copy link
Contributor

Great! Looks good.

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 12, 2016

📌 Commit fb85dd3 has been approved by jonathandturner

@bors
Copy link
Contributor

bors commented Sep 12, 2016

⌛ Testing commit fb85dd3 with merge 5531c31...

bors added a commit that referenced this pull request Sep 12, 2016
fix span for errors E0537, E0535 & E0536

fix #36182 as part of #35233
1 similar comment
@bors bors merged commit fb85dd3 into rust-lang:master Sep 13, 2016
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.

E0537 has a span with extra characters
5 participants