Skip to content

Rollup of 9 pull requests #36491

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
Sep 15, 2016
Merged
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2a2c9d3
Improve shallow `Clone` deriving
petrochenkov Aug 26, 2016
62cb751
Improve `Eq` deriving
petrochenkov Aug 26, 2016
6b99e01
Delete stray ` character in error message.
solson Sep 11, 2016
0a62676
fix "X is not a member of trait Y" span labels
durka Sep 12, 2016
50f94f6
Avoid needless reexpansions.
jseyfried Sep 2, 2016
60440b2
Refactor `noop_fold_stmt_kind` out of `noop_fold_stmt`.
jseyfried Sep 4, 2016
a9821e1
Refactor `ExtCtxt` to use a `Resolver` instead of a `MacroLoader`.
jseyfried Sep 5, 2016
20b43b2
Rewrite the unit tests in `ext/expand.rs` as a `compile-fail` test.
jseyfried Sep 8, 2016
72a6369
Move macro resolution into `librustc_resolve`.
jseyfried Sep 7, 2016
c86c8d4
Perform node id assignment and `macros_at_scope` construction during
jseyfried Sep 5, 2016
f3c2dca
Remove scope placeholders from the crate root.
jseyfried Sep 6, 2016
78c0039
Expand generated test harnesses and macro registries.
jseyfried Sep 6, 2016
b54e1e3
Differentiate between monotonic and non-monotonic expansion and
jseyfried Sep 6, 2016
5a881e9
Make sure that projection bounds in ty::TraitObject are sorted in a w…
michaelwoerister Sep 12, 2016
5c923f0
Remove redundant sorting of projection bounds in tyencode.
michaelwoerister Sep 12, 2016
94d7501
Remove redundant sorting of projections in TypeIdHasher.
michaelwoerister Sep 13, 2016
75a0dd0
Make TypeIdHasher use DefPath::deterministic_hash() for stability.
michaelwoerister Sep 13, 2016
869d144
TypeIdHasher: Let projections be hashed implicitly by the visitor.
michaelwoerister Sep 13, 2016
377c3e1
Fix rebasing fallout.
michaelwoerister Sep 13, 2016
7ec9b81
TypeIdHasher: Remove more redundant explicit visit calls.
michaelwoerister Sep 13, 2016
b49a26e
invoke drop glue with a ptr to (data, meta)
nikomatsakis Sep 13, 2016
693676d
add missing test
nikomatsakis Sep 13, 2016
606cded
Add checked operation methods to Duration
Sep 14, 2016
07b41b5
Fix Duration::checked_mul documentation
Sep 14, 2016
b1bcd18
Implement add, sub, mul and div methods using checked methods for Dur…
Sep 14, 2016
6353e30
clear obligations-added flag with nested fulfillcx
nikomatsakis Sep 13, 2016
a4ee9c6
core: Use primitive indexing in slice's Index/IndexMut
bluss Sep 13, 2016
f2eb4f1
Fix doc-tests for Duration
Sep 14, 2016
b6321bd
Add feature crate attribute for duration_checked_ops to docs
Sep 15, 2016
7268501
Rollup merge of #36384 - petrochenkov:derclone, r=alexcrichton
Manishearth Sep 15, 2016
ebef6ad
Rollup merge of #36405 - solson:typo, r=eddyb
Manishearth Sep 15, 2016
7494bc7
Rollup merge of #36425 - michaelwoerister:stable-projection-bounds, r…
Manishearth Sep 15, 2016
23e0c24
Rollup merge of #36429 - durka:patch-30, r=nagisa
Manishearth Sep 15, 2016
bab9238
Rollup merge of #36438 - jseyfried:node_ids_in_expansion, r=nrc
Manishearth Sep 15, 2016
69a7f92
Rollup merge of #36454 - bluss:slice-primitive-index, r=alexcrichton
Manishearth Sep 15, 2016
959f764
Rollup merge of #36459 - nikomatsakis:issue-35546, r=eddyb
Manishearth Sep 15, 2016
0c9dc53
Rollup merge of #36461 - nikomatsakis:issue-36053, r=arielb1
Manishearth Sep 15, 2016
ec08128
Rollup merge of #36463 - eugene-bulkin:duration-checked-ops, r=alexcr…
Manishearth Sep 15, 2016
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
2 changes: 1 addition & 1 deletion src/librustc_lint/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ impl<'a, 'tcx> ImproperCTypesVisitor<'a, 'tcx> {

ty::TyTuple(_) => {
FfiUnsafe("found Rust tuple type in foreign module; \
consider using a struct instead`")
consider using a struct instead")
}

ty::TyRawPtr(ref m) | ty::TyRef(_, ref m) => {
Expand Down