Skip to content

Rolling up PRs in the queue #18459

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

Merged
merged 54 commits into from
Oct 31, 2014
Merged

Rolling up PRs in the queue #18459

merged 54 commits into from
Oct 31, 2014

Conversation

alexcrichton
Copy link
Member

No description provided.

thestinger and others added 30 commits October 27, 2014 16:37
The arenas write the value to memory and then return a non-aliasing
reference to it. The returned reference can be mutable and can be
coerced to an immutable one.

[breaking-change]
Happened to be reading through
Closes rust-lang#15273 (I did not find how to get the identifier in the message
:/)

Also creates the span_help! macro associated with rust-lang#18126
This just adds some missing match cases in ty and trans

Closes rust-lang#18412
The "/" was probably generated by a `gq` in vim.
This changes create_target_machine to correctly return a Result (Since
the underlying LLVM function can fail and return NULL)
This common representation for delimeters should make pattern matching easier. Having a separate `token::DelimToken` enum also allows us to enforce the invariant that the opening and closing delimiters must be the same in `ast::TtDelimited`, removing the need to ensure matched delimiters when working with token trees.
We can simplify these usages due to the new delimiter representation. `Parser::expect_open_delim` has been added for convenience.
This commit adds the following impls:

    impl<T> Deref<[T]> for Vec<T>
    impl<T> DerefMut<[T]> for Vec<T>
    impl Deref<str> for String

This commit also removes all duplicated inherent methods from vectors and
strings as implementations will now silently call through to the slice
implementation. Some breakage occurred at std and beneath due to inherent
methods removed in favor of those in the slice traits and std doesn't use its
own prelude,

cc rust-lang#18424
…nt group

These lints are allow by default because they are sometimes too sensitive.
The type checker permits an array repeat expression of non-Copy
type if the count is 1, but trans asserts on it prior to this
change.

Closes rust-lang#18425
@rust-highfive
Copy link
Contributor

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

Conflicts:
	src/libcollections/slice.rs
	src/libcore/failure.rs
	src/libsyntax/parse/token.rs
	src/test/debuginfo/basic-types-mut-globals.rs
	src/test/debuginfo/simple-struct.rs
	src/test/debuginfo/trait-pointers.rs
Conflicts:
	src/libsyntax/parse/parser.rs
Conflicts:
	src/libcollections/vec.rs
@bors bors closed this Oct 31, 2014
@bors bors merged commit 6fcba88 into rust-lang:master Oct 31, 2014
@alexcrichton alexcrichton deleted the rollup branch October 31, 2014 05:05
lnicola added a commit to lnicola/rust that referenced this pull request Nov 28, 2024
feat: Use snippet placeholders for generated match arms
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.