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

Rollup of 34 pull requests #22352

Closed
wants to merge 75 commits into from
Closed

Conversation

steveklabnik
Copy link
Member

sanxiyn and others added 30 commits February 13, 2015 00:47
According to @dotdash it enables more aggressive optimizations from LLVM
It is not totally clear if we should just use whitespace, or if the full
unicode word-breaking algorithm is more correct. If there is demand we
can reconsider this decision (and consider the precise algorithm to use
in detail).

cc rust-lang#15628.
In `std::f32` and `std::f64`:

- `MIN_VALUE` → `MIN`
- `MAX_VALUE` → `MAX`
- `MIN_POS_VALUE` → `MIN_POSITIVE`

This matches the corresponding integer constants.

[breaking-change]
Also add address of IRC server. Addresses rust-lang#22249.
This resolves rust-lang#22243, at least for one-letter variable names.
Remove incorrect claim, add example, reformat and re-word.

Fixes rust-lang#22266
Rollup merge (373cbab) of PR rust-lang#20723
accidentally reverted a portion of commit
8327bcc which shifted
`slicing_syntax` from Active to Accepted.
We use them in some places, but never actually talk about the syntax.
Added a second note about keeping the reference.md list up-to-date to
the bottom of the list, since not everyone (including me) reads the
big comment at the top of it.  :)

Ensured that the feature gate list in reference.md is kept in
alphabetical order.
if found on the `main()` function. This lets you write tests that live
in `compile-fail` but are expected to compile successfully. This is
handy when you have many small variations on a theme that you want to
keep together, and you are just testing the type checker, not the
runtime semantics.
This isn't something we want to guarantee.
Fixes rust-lang#22047

Range<u64> and Range<i64> may be longer than usize::MAX on 32-bit
platforms, and thus they cannot fulfill the protocol for
ExactSizeIterator. We don't want a nonobvious platform dependency in
basic iterator traits, so the trait impl is removed.

The logic of this change assumes that usize is at least 32-bit.

This is technically a breaking change; note that Range<usize> and
Range<isize> are always ExactSizeIterators.

[breaking-change]
rustc --version says

```
rustc 1.0.0-dev (d0e82a6 2015-02-05) (built 2015-02-11)
```
…omatsakis

This isn't something we want to guarantee.

r? @nikomatsakis
…=alexcrichton

Fixes rust-lang#22047

`Range<u64>` and `Range<i64>` may be longer than usize::MAX on 32-bit
platforms, and thus they cannot fulfill the protocol for
ExactSizeIterator. We don't want a nonobvious platform dependency in
basic iterator traits, so the trait impl is removed.

The logic of this change assumes that usize is at least 32-bit.

This is technically a breaking change; note that `Range<usize>` and
`Range<isize>` are always ExactSizeIterators.

[breaking-change]
on crates and modules - replace ")"
on more strings - improve readability of grapheme
Rename `libstd/failure.rs` to `libstd/panicking.rs` and `on_fail` to `on_panic`. Closes rust-lang#22306.
@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik
Copy link
Member Author

@bors: r+ 3ce2e0d p=1

@steveklabnik
Copy link
Member Author

@bors: p=1

@bors
Copy link
Contributor

bors commented Feb 15, 2015

⌛ Testing commit 3ce2e0d with merge 0a58910...

@bors
Copy link
Contributor

bors commented Feb 15, 2015

💔 Test failed - auto-linux-64-nopt-t

@steveklabnik
Copy link
Member Author

@bors: r+ 3ae8b02 p=1

@bors
Copy link
Contributor

bors commented Feb 15, 2015

⌛ Testing commit 3ae8b02 with merge 6a093e2...

@bors
Copy link
Contributor

bors commented Feb 15, 2015

💔 Test failed - auto-win-32-opt

@steveklabnik
Copy link
Member Author

closing in favor of #22367

@Manishearth Manishearth mentioned this pull request Feb 16, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.