diff options
| author | bors <bors@rust-lang.org> | 2021-10-11 14:16:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-11 14:16:15 +0000 |
| commit | 1067e2ca5e9cfe5c79f956e49ffc684c5142d49b (patch) | |
| tree | e5f2a3b0156efd5a28e933c42629ce4b443f0b9a /src/test | |
| parent | 6ae8912a3e7d2c4c775024f58a7ba4b1aedc4073 (diff) | |
| parent | 913b1de0ec1da8cdf5e8ad1c418fe4ad61e1e79d (diff) | |
Auto merge of #89767 - GuillaumeGomez:rollup-sczixhk, r=GuillaumeGomez
Rollup of 7 pull requests Successful merges: - #89655 (bootstrap: don't use `--merges` to look for commit hashes for downloading artifacts) - #89726 (Add #[must_use] to alloc constructors) - #89729 (Add #[must_use] to core and std constructors) - #89743 (Fix RUSTC_LOG handling) - #89753 (Add #[must_use] to from_value conversions) - #89754 (Cleanup .item-table CSS) - #89761 (:arrow_up: rust-analyzer) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/weak-new-uninhabited-issue-48493.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/weak-new-uninhabited-issue-48493.rs b/src/test/ui/weak-new-uninhabited-issue-48493.rs index 644fc8c2483..39fbf3c9eb4 100644 --- a/src/test/ui/weak-new-uninhabited-issue-48493.rs +++ b/src/test/ui/weak-new-uninhabited-issue-48493.rs @@ -2,6 +2,6 @@ fn main() { enum Void {} - std::rc::Weak::<Void>::new(); - std::sync::Weak::<Void>::new(); + let _ = std::rc::Weak::<Void>::new(); + let _ = std::sync::Weak::<Void>::new(); } |
