-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 4 pull requests #65406
Rollup of 4 pull requests #65406
Commits on Oct 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4eb5fcb - Browse repository at this point
Copy the full SHA 4eb5fcbView commit details
Commits on Oct 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 76a7667 - Browse repository at this point
Copy the full SHA 76a7667View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76fe6a4 - Browse repository at this point
Copy the full SHA 76fe6a4View commit details
Commits on Oct 10, 2019
-
Tweak
tcx
usage inlub_concrete_regions()
.Some places use the local `tcx` variable, some use `self.tcx()`. This commit removes the local variable so that all places use `self.tcx()`, for consistency.
Configuration menu - View commit details
-
Copy full SHA for 53e7393 - Browse repository at this point
Copy the full SHA 53e7393View commit details -
Special-case
ReEmpty
inexpand_node()
.This wins 6% on `unicode_normalization`, by avoiding a call to `lub_concrete_regions()` and a `Region` equality test.
Configuration menu - View commit details
-
Copy full SHA for 59e41ed - Browse repository at this point
Copy the full SHA 59e41edView commit details -
Remove
tag
fromiterate_until_fixed_point()
.The function only has one call site, so we don't need a tag argument.
Configuration menu - View commit details
-
Copy full SHA for 8cd25e7 - Browse repository at this point
Copy the full SHA 8cd25e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 373c362 - Browse repository at this point
Copy the full SHA 373c362View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8af4c1 - Browse repository at this point
Copy the full SHA e8af4c1View commit details -
expand: Simplify expansion of derives
And make it more uniform with other macros. By merging placeholders for future derives' outputs into the derive container's output fragment early.
Configuration menu - View commit details
-
Copy full SHA for 1270140 - Browse repository at this point
Copy the full SHA 1270140View commit details
Commits on Oct 13, 2019
-
Remove the
Option
inTokenStream
.It means an allocation is required to create an empty `TokenStream`, but all other operations are simpler and marginally faster due to not having to check for `None`. Overall it simplifies the code for a negligible performance effect. The commit also removes `TokenStream::empty` by implementing `Default`, which is now possible.
Configuration menu - View commit details
-
Copy full SHA for 5c93492 - Browse repository at this point
Copy the full SHA 5c93492View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce0347 - Browse repository at this point
Copy the full SHA 1ce0347View commit details -
Lazify some
mac_placeholder()
calls.This avoids some unnecessary creation of empty token streams.
Configuration menu - View commit details
-
Copy full SHA for 18b48bf - Browse repository at this point
Copy the full SHA 18b48bfView commit details
Commits on Oct 14, 2019
-
Rollup merge of rust-lang#64987 - oli-obk:code_reuse_prevents_bugs, r…
…=eddyb Compute the layout of uninhabited structs fixes rust-lang#64506 r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 9611993 - Browse repository at this point
Copy the full SHA 9611993View commit details -
Rollup merge of rust-lang#65252 - petrochenkov:deriveholders2, r=matt…
…hewjasper expand: Simplify expansion of derives And make it more uniform with other macros. This is done by merging placeholders for future derives' outputs into the derive container's output fragment early (addressing FIXMEs from rust-lang#63667). Also, macros with names starting with `_` are no longer reported as unused, in accordance with the usual behavior of `unused` lints. r? @matthewjasper or @mark-i-m
Configuration menu - View commit details
-
Copy full SHA for 9326cd4 - Browse repository at this point
Copy the full SHA 9326cd4View commit details -
Rollup merge of rust-lang#65260 - nnethercote:optimize-LexicalResolve…
…-expansion, r=nikomatsakis Optimize `LexicalResolve::expansion`. A win for `unicode_normalization`. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for d4b162a - Browse repository at this point
Copy the full SHA d4b162aView commit details -
Rollup merge of rust-lang#65261 - nnethercote:rm-Option-from-TokenStr…
…eam, r=petrochenkov Remove `Option` from `TokenStream` A code simplification. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for ed9d45b - Browse repository at this point
Copy the full SHA ed9d45bView commit details