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 10 pull requests #45818

Closed
wants to merge 25 commits into from
Closed

Rollup of 10 pull requests #45818

wants to merge 25 commits into from

Conversation

ollie27 and others added 15 commits October 29, 2017 18:21
The same type can appear multiple times in impls so we need to use a set
to avoid adding it multiple times.
Currently, the compiler requires `T` to also be `Send`.  There is no reason for
that.  `&Rw{Read,Write}LockGuard` only provides a shared referenced to `T`, sending
that across threads is safe if `T` is `Sync`.
The Dist Step is not ran in that case so we would end up trying to
install something that we didn't dist.

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
It's currently linking to a page that says it's on the page I'm changing the link too.
Whitelists `xsave`, `xsaveopt`, `xsavec`, `xsavec`.
also modify the order crate attributes are applied, to have a better
order of how things can override lints, either per-crate or per-test
before:

```
> rustc --emit foo
error: unknown emission type: `foo`
```

after:

```
> rustc --emit foo
error: unknown emission type: `foo` - expected one of: `llvm-bc`, `asm`, `llvm-ir`, `mir`, `obj`, `metadata`, `link`, `dep-info`
```
@rust-highfive
Copy link
Collaborator

r? @dtolnay

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

@kennytm
Copy link
Member Author

kennytm commented Nov 7, 2017

@bors r+ p=11

@bors
Copy link
Contributor

bors commented Nov 7, 2017

📌 Commit fccb414 has been approved by kennytm

@kennytm kennytm added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 7, 2017
@bors
Copy link
Contributor

bors commented Nov 7, 2017

⌛ Testing commit fccb414c1ee6671fddfa5ffbe6726d5cb0a30a42 with merge 5cbb994d0707633efca1b722d726970d96cd5203...

@bors
Copy link
Contributor

bors commented Nov 7, 2017

💔 Test failed - status-travis

…=QuietMisdreavus

add missing docs for MetadataExt

r? @rust-lang/docs
rustbuild: don't try to install rls if ToolState is not Testing

We already do that for the Dist Step so we would end up trying to install something that we didn't dist.
…r=QuietMisdreavus

rustdoc: Fix duplicated impls with generics

The same type can appear multiple times in impls so we need to use a set
to avoid adding it multiple times.

Fixes: rust-lang#45584
RwLock guards are Sync if T is

Currently, the compiler requires `T` to also be `Send`.  There is no reason for
that.  `&Rw{Read,Write}LockGuard` only provides a shared referenced to `T`, sending
that across threads is safe if `T` is `Sync`.

Cc @oconnor663
Update the std::thread docs and clarify that panics can nowadays be caught
…ts, r=GuillaumeGomez

rustdoc: add #[allow(unused)] to every doctest

More information in rust-lang#45750 - this is behavior that was documented but not actually implemented.

I also reordered how outer attributes are applied to doctests. Previously, attributes from `#![doc(test(attr(...)))]` would be applied *after* attributes from within the test itself, meaning if a doctest tried to override lints that would be set crate-wide, it wouldn't work at all. This gives a better scope of how lints can be applied.

Closes rust-lang#45750
Update reference link in doc's 404

It's currently linking to a page that says it's on the page I'm changing the link too.
…s, r=manishearth

Display all emission types in error msg if user inputs invalid option.

before:

```
> rustc --emit foo
error: unknown emission type: `foo`
```

after:

```
> rustc --emit foo
error: unknown emission type: `foo` - expected one of: `llvm-bc`, `asm`, `llvm-ir`, `mir`, `obj`, `metadata`, `link`, `dep-info`
```
[intrinsics] add missing div and rem vector intrinsics
@kennytm kennytm changed the title Rollup of 11 pull requests Rollup of 10 pull requests Nov 7, 2017
@kennytm
Copy link
Member Author

kennytm commented Nov 7, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Nov 7, 2017

📌 Commit bb3b9ac has been approved by kennytm

@bors
Copy link
Contributor

bors commented Nov 7, 2017

⌛ Testing commit bb3b9ac with merge fd49c55b963c6feac6a3ba24e043759341fe46ff...

@bors
Copy link
Contributor

bors commented Nov 7, 2017

💔 Test failed - status-travis

@kennytm
Copy link
Member Author

kennytm commented Nov 7, 2017

cargotests' ripgrep test failed. Cause unknown.

[01:00:08] failures:
[01:00:08] 
[01:00:08] ---- regression_184 stdout ----
[01:00:08] 	thread 'regression_184' panicked at '
[01:00:08] 
[01:00:08] ==========
[01:00:08] command failed but expected success!
[01:00:08] 
[01:00:08] command: "/checkout/obj/build/ct/ripgrep/target/debug/deps/../rg" "test" "."
[01:00:08] cwd: /checkout/obj/build/ct/ripgrep/target/debug/deps/ripgrep-tests/regression_184/65
[01:00:08] 
[01:00:08] status: exit code: 1
[01:00:08] 
[01:00:08] stdout: 
[01:00:08] 
[01:00:08] stderr: No files were searched, which means ripgrep probably applied a filter you didn't expect. Try running again with --debug.
[01:00:08] 
[01:00:08] 
[01:00:08] ==========
[01:00:08] ', tests/workdir.rs:220:12
[01:00:08] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[01:00:08] 
[01:00:08] 
[01:00:08] failures:
[01:00:08]     regression_184
[01:00:08] 
[01:00:08] test result: FAILED. 101 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

@kennytm
Copy link
Member Author

kennytm commented Nov 7, 2017

regression_184 at the tested commit (same content as current master):

https://github.com/BurntSushi/ripgrep/blob/b65bb37b14655e1a89c7cd19c8b011ef3e312791/tests/tests.rs#L874-L886

@kennytm kennytm closed this Nov 7, 2017
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 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 S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.