- 24 2月, 2015 40 次提交
-
-
由 Manish Goregaokar 提交于
The windows/unix modules were currently inconsistent about the traits being implemented for `DirEntry` and there isn't much particular reason why the traits *couldn't* be implemented for `ReadDir` and `DirEntry`, so this commit ensures that they are implemented. Closes #22577
-
由 Manish Goregaokar 提交于
aatch's cfg revisions, namely to match expressions Revise handling of match expressions so that arms branch to next arm. Update the graphviz tests accordingly. Fixes #22073. (Includes regression test for the issue.)
-
由 Manish Goregaokar 提交于
Also includes some minor optimizations to the Vec and slice writers to remove the unnecessary loop.
-
由 Manish Goregaokar 提交于
RFC 817 is not yet accepted, but I wanted to put this code up so people can see how it works. And to be ready lest it should be accepted. cc rust-lang/rfcs#817
-
由 Manish Goregaokar 提交于
Revised an example in the Pointers chapter of TRPL (the guide) as per #21575.
-
由 Manish Goregaokar 提交于
This is a breaking change if missing docs are forbidden in any module or crate. I had to add documentation to undocumented associated types in libstd and libcore, please let me know if the documentation is inadequate anywhere! Fixes #20648
-
由 Manish Goregaokar 提交于
Integer audit in `libstd/thread_local/*`, part of #22240
-
由 Manish Goregaokar 提交于
fmt and hash are pretty straightforward I think. sync is a bit more complex. I thought one or two of the `isize`s ought to be `i32`s, but that would require a bunch of casting (the root cause being the lack of atomics other than isize/usize). r? @alexcrichton
-
由 Manish Goregaokar 提交于
Toss the tomatoes! r? @aturon Fixes #22478. The underlying bug(?) behind that issue still exists though and there’s another issue that reports it.
-
由 Manish Goregaokar 提交于
Fixes #17929
-
由 Manish Goregaokar 提交于
The `-Wl,--as-needed` option was removed during first stages of bootstrapping between Linux and OpenBSD. Restore it, as it seems to be ok now.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Update the reference page to the change in #20680.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Fixes #20302
-
由 Manish Goregaokar 提交于
r? @steveklabnik
-
由 Manish Goregaokar 提交于
-
由 bors 提交于
This is one more step towards completing #13231 This series of commits add support for default trait implementations. The changes in this PR don't break existing code and they are expected to preserve the existing behavior in the compiler as far as built-in bounds checks go. The PR adds negative implementations of `Send`/`Sync` for some types and it removes the special cases for `Send`/`Sync` during the trait obligations checks. That is, it now fully relies on the traits check rather than lang items. Once this patch lands and a new snapshot is created, it'll be possible to add default impls for `Send` and `Sync` and remove entirely the use of `BuiltinBound::{BoundSend,BoundSync}` for positive implementations as well. This PR also removes the restriction on negative implementations. That is, it is now possible to add negative implementations for traits other than `Send`/`Sync`
-
由 bors 提交于
Fixes #22159 Fixes #21721
-
由 Corey Farwell 提交于
Fixes #17929
-
由 Tshepang Lekhonkhobe 提交于
-
由 bors 提交于
Seems to pass `check-stage1`, but I had to tweak some things so it's going through the test gauntlet again.
-
由 Alex Crichton 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
Remove awful hack concerning `Trait impl Trait` in method resolution code that I've been longing to remove for quite some time.
-
由 Niko Matsakis 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
If these tests exit while a thread is panicking it often leads to situations like #22628.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
This test appears to pass cleanly on master. Closes #13361
-
由 Manish Goregaokar 提交于
We already do this for the function arguments, but miss it for the retslot pointer, which can lead to LLVM assertions because the retslot has the wrong type. Fixes #22663
-
由 Manish Goregaokar 提交于
Leading hyphens already don't work (#22661), so no code should break from this change. Closes #22661.
-
由 Manish Goregaokar 提交于
We can't call into the inner reader for a 0-byte read because that may end up blocking or returning an error. r? @alexcrichton
-
由 Ivan Petkov 提交于
This way we can be sure the correct error is displayed for the respective code type.
-