| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
This reverts commit a729a404945de10f99e2530a5c28952996532b29.
|
|
This reverts commit 9bbfd681c9fa47f462a89e8f5eedd3fa2a5de2e7.
|
|
This reverts commit a7525bc4c8eb8507a5c248d29286e77133217cf3.
|
|
|
|
Conflicts:
src/librustc/diagnostics.rs
src/librustdoc/clean/mod.rs
src/librustdoc/html/format.rs
src/libsyntax/parse/parser.rs
|
|
Conflicts:
src/libcore/ops.rs
src/librustc_typeck/astconv.rs
src/libstd/io/mem.rs
src/libsyntax/parse/lexer/mod.rs
|
|
Project region bounds out of the trait when deciding whether a projection type outlives a given regions.
Fixes #20890.
Fixes #21150.
|
|
Conflicts:
src/librustc_trans/trans/debuginfo.rs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
src/libtest/lib.rs
|
|
Conflicts:
src/liballoc/boxed.rs
src/librustc/middle/traits/error_reporting.rs
src/libstd/sync/mpsc/mod.rs
|
|
Closes #13971
|
|
Conflicts:
src/liballoc/boxed.rs
|
|
Conflicts:
src/libstd/sync/mpsc/select.rs
|
|
This is a bit of cleanup work to clean out some old deprecated flags and deprecated lint names from the compiler (they've been deprecated for quite awhile now).
This also notably puts `--pretty` behind the `-Z unstable-options` flag (where it was supposed to be previously).
|
|
Conflicts:
src/libstd/sync/mpsc/mod.rs
|
|
r? @alexcrichton
|
|
Tiny fix
|
|
This is little clean code of this PR: #21366. I patched the same thing as aochagavia but too slowly obviously. This is a merge of our two codes, more "rust-like".
|
|
Conflicts:
src/libstd/io/mod.rs
|
|
This is clearly useless, the user doesn't need to know that they could
implement/import `foo::bar::Baz` 4 times.
Fixes #21405.
|
|
This just corrects a couple of typos in doc comments, and changes some to conform to the Rust guidelines.
|
|
The reference count can never be 0, unless we're about to drop the data
completely. Using the `assume` intrinsic allows us to inform LLVM about
that invariant, meaning it can avoid unnecessary drops.
---
Before and after IR: https://gist.github.com/Aatch/3786d20df2edaad6a0e8
Generated from the example in #13018
Fixes #13018
|
|
Initial support for aarch64-linux-android (#18920)
- Add new configuration files
- Modify some options to compile & link succesfully.
(PIE, disable tls on jemalloc, modify some external function linkage, ..)
- To build, refer to https://github.com/rust-lang/rust/wiki/Doc-building-for-android.
(tested with platform=21 and toolchain=aarch64-linux-android-4.9)
|
|
This isn't the entire set of changes, there are more coming. #19145
|
|
Conflicts:
src/librustc_typeck/check/closure.rs
|
|
Conflicts:
src/libsyntax/parse/lexer/comments.rs
|
|
r? @FlaPer87
|
|
Slightly change the title to make it look more consistent with other chapters (e.g. Match.)
|
|
closes #20953
closes #21361
---
In the future, we will likely derive these `impl`s via syntax extensions or using compiler magic (see #20617). For the time being we can use these manual `impl`s.
r? @aturon
cc @burntsushi @Kroisse
|
|
They are unused since libtime is gone.
cc #20861
|
|
Fixes #20943 and adds a test for it
r? @alexcrichton
|
|
It is not used anymore
|
|
Conflicts:
src/librustdoc/clean/mod.rs
|
|
This gate was `Accepted`, so we shouldn't need these.
|
|
There are two limitations to the macro that this addresses:
1. the expected type is not propagated, coercions don't trigger
2. references inside element expressions don't outlive the `Vec`
Both of these limitations are caused by the block in the
macro expansion, previously needed to trigger a coercion
from `Box<[T; N]>` to `Box<[T]>`, now possible with UFCS.
|
|
Fixes #21310
|
|
Collaboration with @rylev!
I didn't change `int` in the [quasi-quoter](https://github.com/pshc/rust/blob/99ae1a30f3ca28c0f7e431620560d30e44627124/src/libsyntax/ext/quote.rs#L328), because I'm not sure if there will be adverse effects.
Addresses #21095.
|
|
File cannot be written, for example, if directory does not exist.
Before this commit:
```
% rustc -o nonexistent/program program.rs
error: could not write output: No such file or directory
```
With this commit:
```
% rustc -o nonexistent/program program.rs
error: could not write output to nonexistent/program.0.o: No such file or directory
```
This is useful when full rust command is not displayed, or when last error is followed by thousands of warnings.
|
|
This does the bare minimum to make registration of error codes work again. After this patch, every call to `span_err!` with an error code gets that error code validated against a list in that crate and a new tidy script `errorck.py` validates that no error codes are duplicated globally.
There are further improvements to be made yet, detailed in #19624.
r? @nikomatsakis
|