Skip to content

Rollup of 9 pull requests #59522

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 29 commits into from
Mar 29, 2019
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6ea6e62
Update jemalloc-sys to version 0.3.0
gnzlbg Mar 26, 2019
b73886d
Update Cargo.lock
gnzlbg Mar 26, 2019
c728ae0
Update rustfmt to 1.2.0
topecongiro Mar 27, 2019
d59b46f
Add a test
taiki-e Mar 27, 2019
4d648ce
Better diagnostic for binary operation on BoxedValues
hgallagher1993 Mar 27, 2019
5113e73
Update books
ehuss Mar 22, 2019
b3011dd
Visit ItemKind::Impl for dead code lint
varkor Mar 28, 2019
40db575
Add a regression test for #47131
varkor Mar 28, 2019
0acb786
Do not suggest borrowing when the span comes from a macro
estebank Mar 28, 2019
925ca49
Add test
estebank Mar 28, 2019
326ec80
Account for fully overlapping multiline annotations
estebank Mar 28, 2019
81402db
Update stdsimd
gnzlbg Mar 28, 2019
7a5c82d
Add edition-guide to toolstate.
ehuss Mar 28, 2019
4644c3a
Add check for when left and right overlap and change span for explana…
hgallagher1993 Mar 28, 2019
8cdfad9
Walk all items for dead_code lint by default
varkor Mar 28, 2019
44813df
Rename `type_parameters` to `generics` and so on
varkor Mar 29, 2019
e13e9a5
review comments
estebank Mar 29, 2019
8fad69c
Add comemnts clarifying logic
estebank Mar 29, 2019
b5690c2
Fix MultilineAnnotation field name
estebank Mar 29, 2019
362d243
Fix error in Rust 2018 + no_core environment
taiki-e Mar 29, 2019
972a8ce
Rollup merge of #59366 - ehuss:update-books, r=QuietMisdreavus
Centril Mar 29, 2019
8e0855b
Rollup merge of #59436 - gnzlbg:update_jemalloc, r=alexcrichton
Centril Mar 29, 2019
38af98e
Rollup merge of #59454 - topecongiro:rustfmt-1.2.0, r=nrc
Centril Mar 29, 2019
647d09f
Rollup merge of #59462 - taiki-e:no-core, r=petrochenkov
Centril Mar 29, 2019
fda2066
Rollup merge of #59467 - hgallagher1993:local_branch, r=estebank
Centril Mar 29, 2019
c105f34
Rollup merge of #59473 - estebank:borrow-sugg-inside-macro, r=davidtwco
Centril Mar 29, 2019
ee17267
Rollup merge of #59480 - gnzlbg:us, r=alexcrichton
Centril Mar 29, 2019
4aacc49
Rollup merge of #59486 - varkor:dead-code-impl, r=sanxiyn
Centril Mar 29, 2019
99e886d
Rollup merge of #59510 - varkor:rename-type_parameters, r=eddyb
Centril Mar 29, 2019
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
Prev Previous commit
Next Next commit
Add a test
  • Loading branch information
taiki-e committed Mar 27, 2019
commit d59b46fd49022c1396e203d942103d3483840adf
18 changes: 18 additions & 0 deletions src/test/run-pass/no-core-2.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#![allow(dead_code, unused_imports)]
#![feature(no_core)]
#![no_core]
// edition:2018

extern crate std;
extern crate core;
use core::{prelude::v1::*, *};

fn foo() {
for _ in &[()] {}
}

fn bar() -> Option<()> {
None?
}

fn main() {}