Skip to content

Rollup of 10 pull requests #72768

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 38 commits into from
May 30, 2020
Merged
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bb43391
Update RELEASES.md for 1.44.0
XAMPPRocky May 9, 2020
bd5ed9e
Update RELEASES.md
XAMPPRocky May 9, 2020
0f18203
Miri: refactor read_discriminant and make it return Scalar
RalfJung Apr 14, 2020
5a3971c
comments and refactor variable names
RalfJung May 23, 2020
f8f8033
assert that types without discriminant use variant idx of 0
RalfJung May 23, 2020
d94923e
Format and more tracing
RalfJung May 23, 2020
64fbe2f
Add helper method for determining the type of a discriminant
RalfJung May 23, 2020
ad7179d
fix discriminant_ty for non-enums
RalfJung May 23, 2020
1c30c9e
Don't bail out of trait selection when predicate references an error
Aaron1011 May 26, 2020
ce81d15
Add test to make sure -Wunused-crate-dependencies works with tests
jsgf May 28, 2020
02cc593
Remove unused mut from long-linker-command-lines test
tmiasko May 29, 2020
ed503ac
Revert "Fix rebase fallout"
Aaron1011 May 29, 2020
4d4facb
Revert "Add test for macro_rules! invoking a proc-macro with capture …
Aaron1011 May 29, 2020
1ae7de9
Revert "Recursively expand nonterminals"
Aaron1011 May 29, 2020
1c2b65b
Revert "Move functions to librustc_parse"
Aaron1011 May 29, 2020
b802eeb
Fix missing import lost in revert
Aaron1011 May 29, 2020
283358b
Update RELEASES.md
XAMPPRocky May 29, 2020
5b37ee1
Update RELEASES.md
XAMPPRocky May 29, 2020
859863d
Update RELEASES.md
XAMPPRocky May 29, 2020
692f4ec
Update RELEASES.md
XAMPPRocky May 29, 2020
25bafc2
remove mk_bool
lcnr May 29, 2020
2f3dd7b
Remove remaining calls to `as_local_node_id`
marmeladema May 24, 2020
27ed143
fix diagnostics for `@ ..` binding pattern in tuples and tuple structs
chrissimpkins May 29, 2020
c4b6224
more type sanity checks in Miri
RalfJung May 29, 2020
6700e18
Add Extend::{extend_one,extend_reserve}
cuviper May 13, 2020
e434554
Use a canonical name for extend_reserve(additional)
cuviper May 26, 2020
10efaa3
Remove an old comment from HashMap::extend_reserve
cuviper May 26, 2020
a51b22a
Add extend_one tracking issue 72631
cuviper May 26, 2020
a578ac5
Rollup merge of #72033 - XAMPPRocky:relnotes-1.44.0, r=Mark-Simulacrum
JohnTitor May 30, 2020
3459eae
Rollup merge of #72162 - cuviper:extend_one, r=Mark-Simulacrum
JohnTitor May 30, 2020
a5fb7fc
Rollup merge of #72419 - RalfJung:read-discriminant, r=oli-obk,eddyb
JohnTitor May 30, 2020
7624ac7
Rollup merge of #72621 - Aaron1011:fix/trait-select-error, r=nikomats…
JohnTitor May 30, 2020
ca8640e
Rollup merge of #72677 - chrissimpkins:fix-72574, r=estebank
JohnTitor May 30, 2020
875c6b2
Rollup merge of #72710 - jsgf:unused-deps-test, r=jsgf
JohnTitor May 30, 2020
047b3bd
Rollup merge of #72724 - Aaron1011:revert-tokenstream-expand, r=petro…
JohnTitor May 30, 2020
990195f
Rollup merge of #72741 - tmiasko:unused-mut, r=Mark-Simulacrum
JohnTitor May 30, 2020
c20a97d
Rollup merge of #72750 - marmeladema:remove-as-local-node-id, r=petro…
JohnTitor May 30, 2020
025058f
Rollup merge of #72752 - lcnr:remove-mk_bool, r=estebank
JohnTitor May 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/test/ui/unused-crate-deps/test-use-ok.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Test-only use OK

// edition:2018
// check-pass
// aux-crate:bar=bar.rs
// compile-flags:--test

#![deny(unused_crate_dependencies)]

fn main() {}

#[test]
fn test_bar() {
assert_eq!(bar::BAR, "bar");
}