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

Rolling up PRs in the queue #20104

Merged
merged 105 commits into from
Dec 22, 2014
Merged

Rolling up PRs in the queue #20104

merged 105 commits into from
Dec 22, 2014

Conversation

alexcrichton
Copy link
Member

No description provided.

lambda-fairy and others added 30 commits December 11, 2014 20:40
Take the docs from Rc<T>, apply them to Arc<T>, and fix some line lengths.
Disambiguate maximally by using 'and' instead of '&' next to discussion
about references.

As a bonus, fix the spelling of the car too.
This narrows the definition of nested returns such that only when the
outer return has a chance of being executed (due to the inner return
being conditional) do we mark the function as having nested returns.

Fixes rust-lang#19684
There is currently no way to specify the stability level for a trait
impl produced by `deriving`. This patch is a stopgap solution that:

* Turns of stability inheritance for trait impls, and
* Uses the stability level of the *trait* if no level is directly
  specified.

That is, manual trait impls may still provide a directly stability
level, but `deriving` will use the level of the trait. While not a
perfect solution, it should be good enough for 1.0 API stabilization, as
we will like *remove* any unwanted impls outright.
The current indentation level would indicate that Boolean literals are on the same level as Integer and Float literals under Number literals, unindenting moves it to the same scope as Character and string literals, Byte and byte string literals, and Number literals under Literals.
This commit modifies rustdoc to not require these empty modules to be public in
the standard library. The modules still remain as a location to attach
documentation to, but the modules themselves are now private (don't have to
commit to an API). The documentation for the standard library now shows all of
the primitive types on the main index page.
Tweak CovariantType, ContravariantType, and InvariantType to allow their
type parameter to be unsized.
This fixes rust-lang#19978. The bug was introduced by 570325d, where if the type
of an Fn has not been inferred (strs[0] is "_") we slice from 1 to
0. We now explicitly check if `strs[0]` is a single element tuple.
alexcrichton and others added 6 commits December 21, 2014 09:27
Encode foreign item attributes and stability levels and visit foreign
items in the stability visitor.

cc @gankro
Instead, just pass everything through as a Vec<u8> to get worried about later.

Closes rust-lang#20091
Conflicts:
	src/libcollections/string.rs
	src/libcollections/vec.rs
	src/snapshots.txt
@flaper87
Copy link
Contributor

@alexcrichton

Is this commit also included here? It's needed for the snapshot and I don't see it.

flaper87@64dc108

@alexcrichton
Copy link
Member Author

@flaper87 your snapshot PR was made after I made one as well (#19972), and my PR also removed all those impls. I've merged the two PRs here and updated the snapshot to the more recent one (the one you pinned to).

@nikomatsakis
Copy link
Contributor

🐎 go little rollup go

@brson
Copy link
Contributor

brson commented Dec 21, 2014

Thanks @alexcrichton

@nikomatsakis
Copy link
Contributor

I wonder how big until bors overflows the priority

@thestinger
Copy link
Contributor

@nikomatsakis: It's Python so it's a big integer. I doubt that GitHub will let you make a long enough comment to cause an out-of-memory error :P.

@tomjakubowski
Copy link
Contributor

wooooo 🎅 @bors bringing us 🎁 🎁 🎁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.