| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
(A followup commit removes the mir::transform based entry point.)
|
|
rustc: Remove some dead code
Extracted from https://github.com/rust-lang/rust/pull/43192
r? @eddyb
|
|
Improve placement of `use` suggestions
r? @nrc
cc @estebank @Mark-Simulacrum
fixes #42835
fixes #42548
fixes #43769
|
|
redox: Correct error on exec when file is not found
`.raw_os_error()` (called in `spawn()`) returned None, so this produced an incorrect error.
|
|
`.raw_os_error()` (called in `spawn()`) returned None, so this produced an incorrect error.
|
|
Fix typo in doc
|
|
Missing links
r? @rust-lang/docs
|
|
Update the compiler_builtins submodule
Fixes #43411
|
|
|
|
Update jemalloc to 4.5.0
Second try, including the fix for osx deadlock jemalloc/jemalloc#895.
cc https://github.com/rust-lang/rust/pull/41861 @alexcrichton @RalfJung
|
|
Minor Iterator::filter_map description rewording.
Fixes https://github.com/rust-lang/rust/issues/39294.
|
|
Add x86_64-unknown-redox to build manifest target list
This should fix the issue of `x86_64-unknown-redox` not being available for `rustup target add`
|
|
Upgrade a comment to a doc comment
r? @alexcrichton
cc @bjorn3
|
|
|
|
|
|
Minor rewrite of char primitive unicode intro.
Opened primarily to address #36998.
Despite my love for emoji, the heart example is a little confusing because both heart characters start with the same code point and there can be stark rendering differences across browsers. I also spelled out what each of the code points is in the code block, which (hopefully) sheds light why one character is one code point while the other is two.
Very much open to suggestion and improvements. I'm pretty tired when I wrote this so I might wake up and realize that this is making things more confusing 😅
|
|
Fix bad span for attributes
Closes #42641.
|
|
Fixes https://github.com/rust-lang/rust/issues/39294.
|
|
|
|
Enable unwinding panics on Redox
|
|
|
|
|
|
Fixes #43411
|
|
udpdate error message for unsized union field
Fixes #36312.
|
|
|
|
|
|
Eat open paren when parsing list in libsyntax/parse/attr.rs
This PR adds a small refactoring:
```diff
pub fn parse_meta_item_kind(&mut self) -> PResult<'a, ast::MetaItemKind> {
Ok(if self.eat(&token::Eq) {
ast::MetaItemKind::NameValue(self.parse_unsuffixed_lit()?)
- } else if self.token == token::OpenDelim(token::Paren) {
+ } else if self.eat(&token::OpenDelim(token::Paren)) {
ast::MetaItemKind::List(self.parse_meta_seq()?)
} else {
- self.eat(&token::OpenDelim(token::Paren));
ast::MetaItemKind::Word
})
}
```
in `parse_meta_item_kind()`, the parser calls `self.eat(&token::OpenDelim(token::Paren));` before returning `ast::MetaItemKind::Word` just to add `(` to expected token. It seems more natural to eat the paren when parsing `ast::MetaItemKind::List`.
|
|
Refactoring: move net specific file descriptor methods
Move the implementations of net specific file descriptor methods from
io to net. This makes it easier to exclude net at all if it is not needed
for a target.
|
|
More PowerPC intrinsics
|
|
Implement CompilerDesugaringKind enum
This is the first step outlined in #35946. I think that the variants of `CompilerDesugaringKind` should be changed, I didn't know what the official names for `...` and `<-` are.
I'm not to sure how tests for the compiler work, but I would imagine that tests should be added such that
`Symbol::intern(s) == CompilerDesugaringKind::from(s).as_symbol()` for valid `s`.
|
|
|
|
|
|
Fix ES5 regression with shorthand names.
Reverts 1b6c9605e4.
I appreciate new features and syntax in Rust, but seriously, don't rewrite anything. Especially if this **breaks** documentation of language itself and every crate hosted at docs.rs.
|
|
r=QuietMisdreavus
Fixed typo in RefCell::get_mut
"[...] is usually not you want." => "[...] is usually not what you want."
|
|
refactor(mir): remove unused argument
Small cleanup that shouldn't have any impact, as it's a small thing introduced in #43772
|
|
Implement a temp redirect for cargo docs
As discussed in
https://github.com/rust-lang/cargo/issues/4040#issuecomment-321639074
This is a redirect meant to be replaced once cargo docs have been
converted to mdbook. We just want *a* URL to ride the trains for now so
that we can print doc.rust-lang.org/cargo in the paper book and
guarantee that it will go *somewhere* useful by the time the book is
printed.
Implemented as a meta redirect in HTML because we don't currently have
any google juice at doc.rust-lang.org/cargo to lose.
When I run `./x.py doc`, this creates a `build/x86_64-apple-darwin/doc/cargo/index.html` file that contains a meta redirect to doc.crates.io. As I understand rust-central-station to work, this should be what we need to make `doc.rust-lang.org/cargo` to work.
r? @alexcrichton and/or @steveklabnik
|
|
Fix typo in doc
|
|
Update the books for next release
|
|
E0106: field lifetimes
Hi there,
I've added an example for custom type lifetimes located in another `struct` field.
cc @GuillaumeGomez
|
|
Document that `std::hash::Hasher::finish()` does not reset the hasher.
Clarifies the fact that `finish()` doesn’t in fact end or reset the hasher. This was surprising to me …
Follows up on and fixes #43763
|
|
Fix typos & us spellings
Fixing some typos and non en-US spellings.
(Update of PR https://github.com/rust-lang/rust/pull/42812 )
|
|
|
|
|
|
|
|
|
|
|
|
Run MIR passes on promoted temporaries again.
This seems to have been broken some time in the past (maybe here: https://github.com/rust-lang/rust/commit/9c154a67bf5c6841c39afdb90388cc3ba36dc70c#diff-2f8e8805126c84b2be3f0967ffa0af28L162).
r? @arielb1
|
|
Reverts 1b6c9605e4.
|