-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rollup of 10 pull requests #25315
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
Conversation
steveklabnik
commented
May 11, 2015
- Successful merges: fix for ICE issue #25180 #25209, [liballoc] Adds checks for UB during allocation. #25254, Add some long diagnostic messages. #25272, Fix grammar in path::Path documentation #25278, Remove extra parentheses #25282, Fix links in the referece #25283, Update BitSet docs with correct types #25288, TRPL: the stack and the heap #25292, Markdown formatting for error explanations. #25302, trpl: item macros must be followed by a semicolon #25304
- Failed merges:
… 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.
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ p=1 |
📌 Commit 4daaa06 has been approved by |
⌛ Testing commit 4daaa06 with merge 1227d5d... |
💔 Test failed - auto-mac-32-opt |
Strange, but I'm in vacation, so let's try again next Werk. |
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. |
Done the change. I'm still a bit puzzled why it failed, though. |