Skip to content

Conversation

alexcrichton and others added 8 commits December 21, 2015 14:00
Types like `&AssertRecoverSafe<T>` and `Rc<AssertRecoverSafe<T>>` were
mistakenly not considered recover safe, but the point of the assertion wrapper
is that it indeed is! This was caused by an interaction between the
`RecoverSafe` and `NoUnsafeCell` marker traits, and this is updated by adding an
impl of the `NoUnsafeCell` marker trait for `AssertRecoverSafe` to ensure that
it never interacts with the other negative impls of `RecoverSafe`.

cc rust-lang#30510
Avoid duplicating the last element of the def path which led to paths like "std::slice::into_vec::into_vec".
- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
  PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
Trivial, but my eye is twitching.
@rust-highfive
Copy link
Contributor

r? @aturon

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

@Manishearth
Copy link
Member Author

@bors r+ p=10 force

@bors
Copy link
Collaborator

bors commented Dec 25, 2015

📌 Commit eef1be5 has been approved by Manishearth

@Manishearth
Copy link
Member Author

@bors force

@bors
Copy link
Collaborator

bors commented Dec 25, 2015

⌛ Testing commit eef1be5 with merge 7753e0c...

@bors
Copy link
Collaborator

bors commented Dec 25, 2015

💔 Test failed - auto-win-gnu-64-nopt-t

Types like `&AssertRecoverSafe<T>` and `Rc<AssertRecoverSafe<T>>` were
mistakenly not considered recover safe, but the point of the assertion wrapper
is that it indeed is! This was caused by an interaction between the
`RecoverSafe` and `NoUnsafeCell` marker traits, and this is updated by adding an
impl of the `NoUnsafeCell` marker trait for `AssertRecoverSafe` to ensure that
it never interacts with the other negative impls of `RecoverSafe`.

cc rust-lang#30510
…chton

as the buildbot has timeouted when building snap3 branch, I regenerate one locally.

here the diff that registers the OpenBSD snapshot.

the archive is available at http://semarie.online.fr/rust/rust-stage0-2015-12-18-3391630-openbsd-x86_64-6c8aab2c8a169274942f9a15e460069a3ff64be9.tar.bz2

sha256 : de3c26a93cf9512922cc012f9b57bd08d7b64f7e0469a9bb032fa9c07260cf0c

@alexcrichton does it is the good method for providing a snapshot ?
…hs, r=nikomatsakis

Avoid duplicating the last element of the def path which led to paths like "std::slice::into_vec::into_vec".

cc @rust-lang/compiler
…bnik

book: Some operator fixes for the syntax index

- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
  PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
Fixes rust-lang#30514

i also went ahead and removed the redundant `ItemKind`s.

r? @nikomatsakis (this is an easy one I guess)
@Manishearth
Copy link
Member Author

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 25, 2015

📌 Commit 04fe94a has been approved by Manishearth

@Manishearth
Copy link
Member Author

@bors force

bors added a commit that referenced this pull request Dec 25, 2015
@bors
Copy link
Collaborator

bors commented Dec 25, 2015

⌛ Testing commit 04fe94a with merge 5b838c5...

@bors
Copy link
Collaborator

bors commented Dec 25, 2015

💔 Test failed - auto-linux-64-opt

@Manishearth
Copy link
Member Author

@bors retry force

@Manishearth
Copy link
Member Author

@bors retry force

@bors bors merged commit 04fe94a into rust-lang:master Dec 25, 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.