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

Rollup of 10 pull requests #25315

Closed
wants to merge 30 commits into from
Closed

Conversation

llogiq and others added 30 commits May 8, 2015 13:26
… removed the with_mode copy, thanks to eddyb
They're only enabled in debug builds, but a panic is usually more
welcome than UB in debug builds.
Change from "must be used with behind a pointer" to "must be used behind a pointer"
Update BitSet docs to correct type in one more spot

removed accidental file
and remove references to the unit type, which no longer exists

Fixes rust-lang#24999
According to @eddyb – and my tests – the following gets rid of the ICE in issue rust-lang#25180.
…Gankro

They're only enabled in debug builds, but a panic is usually more
welcome than UB in debug builds.

Previous review at rust-lang#22069

r? @gankro
cc @huon
Adds long diagnostic messages for:

 - E0184
 - E0204
 - E0205
 - E0206
 - E0243
 - E0244
 - E0249
 - E0250

This PR also adds some comments to the error codes in `librustc_typeck/diagnostics.rs`.

cc rust-lang#24407
Change from "must be used with behind a pointer" to "must be used behind a pointer"
…chton

As mentioned in rust-lang#16676 (comment) this makes it a little bit more correct.

I'm a bit unsure whether or not it should be explained that the transcriber can be wrapped in parentheses or curly braces if necessary.
and remove references to the unit type, which no longer exists

Fixes rust-lang#24999
The functions BitSet::{iter,union,symmetric_difference} each had docs that claimed u32s were output when their actual output each end up being usizes.

r? @steveklabnik
…matsakis

I think someday I'd like to make these drawings rather than text, but for now, this will have to be good enough.
…felix

A few errors slipped through my filter. Markdown formatting is especially important now that http://doc.rust-lang.org/error-index.html is live!

Speaking of, the error index should probably be linked to from somewhere. It doesn't quite fit under any of the sections in the index, but I could create a new one for it? Or add it under "tools" despite it not exactly being an executable tool.
@rust-highfive
Copy link
Collaborator

r? @pcwalton

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

@steveklabnik
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented May 11, 2015

📌 Commit 4daaa06 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented May 11, 2015

⌛ Testing commit 4daaa06 with merge 1227d5d...

bors added a commit that referenced this pull request May 11, 2015
@bors
Copy link
Contributor

bors commented May 11, 2015

💔 Test failed - auto-mac-32-opt

@michaelsproul
Copy link
Contributor

Something weird going on with #25209. @llogiq?

@llogiq
Copy link
Contributor

llogiq commented May 12, 2015

Strange, but I'm in vacation, so let's try again next Werk.

@llogiq
Copy link
Contributor

llogiq commented May 12, 2015

Looking into it, it appears that I used print! In the tests, which triggered the error on pretty-printing. I'll change this to assert!s.

@llogiq
Copy link
Contributor

llogiq commented May 12, 2015

Done the change. I'm still a bit puzzled why it failed, though.

@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants