Skip to content

Rollup of 13 pull requests #55425

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

Closed
wants to merge 44 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a0df420
Implement FromStr for PathBuf
SimonSapin Oct 17, 2018
ac18635
Add MaybeUninit::new
SimonSapin Oct 21, 2018
412ad9b
Allow extern statics with an extern type
mjbshaw Oct 22, 2018
5b84550
Keep an obligation for both sized and unsized types
mjbshaw Oct 22, 2018
1c8fb66
Move `BoundTy` to `ty::TyKind`
scalexm Oct 22, 2018
cdf5547
Shift both late bound regions and bound types
scalexm Oct 22, 2018
ab820ad
Rename `BoundTyIndex` to `BoundVar`
scalexm Oct 23, 2018
9049c85
Rename `BoundTy` field `level` -> `index`
scalexm Oct 23, 2018
8642a23
Adjust bound tys indices in canonicalization
scalexm Oct 23, 2018
e76fffc
Remove `ReCanonical` in favor of `ReLateBound`
scalexm Oct 24, 2018
b86d700
Rename `Binder::no_late_bound_regions` to `Binder::no_bound_vars`
scalexm Oct 24, 2018
235c848
Extend `ty::fold::RegionReplacer` to `ty::fold::BoundVarReplacer`
scalexm Oct 24, 2018
47499cc
Fix doc comment
scalexm Oct 25, 2018
18eeed5
Move cg_llvm::back::linker to cg_utils
bjorn3 Oct 20, 2018
2bf01aa
Rename `as_bound_var` to `assert_bound_var`
scalexm Oct 25, 2018
2b205dc
Substitute binders directly
scalexm Oct 25, 2018
029cf2f
Move collect_and_partition_mono_items to rustc_mir
bjorn3 Oct 25, 2018
06695c2
Remove rustc_metadata_utils, which contains only one function
bjorn3 Oct 25, 2018
adafd0f
Fix indentation
bjorn3 Oct 25, 2018
8d5fb4c
Add note linking to Rust 2018 path semantics docs.
davidtwco Oct 18, 2018
c674802
Remove unnecessary mut in iterator.find_map documentation example, Re…
meven Oct 23, 2018
bb37f18
Turn ICE for dangling pointers into error
oli-obk Oct 22, 2018
caabc72
Reproduce the underlying issue
oli-obk Oct 22, 2018
7a2879f
Update dangling-alloc-id-ice-2.rs
oli-obk Oct 23, 2018
9d18968
Typo
oli-obk Oct 24, 2018
5c45fef
Update and add new test (fixes #55353)
oli-obk Oct 26, 2018
599eb12
Add trailing newline
oli-obk Oct 26, 2018
4cb611f
Update string.rs
rick68 Oct 27, 2018
c04893a
Fix an ICE in the min_const_fn analysis
oli-obk Oct 27, 2018
630c6a5
introducing lint reason annotations (RFC 2383)
zackmdavis Sep 30, 2018
dc0609c
feature-gate lint reasons
zackmdavis Sep 30, 2018
f90de11
in which lint reasons are restricted to come last in the attribute
zackmdavis Oct 12, 2018
f66ea66
wherein the status of empty and reason-only lint attributes is clarified
zackmdavis Oct 16, 2018
80c1f0b
Rollup merge of #54683 - zackmdavis:critique_of_pure_lints, r=petroch…
Mark-Simulacrum Oct 27, 2018
ef8f09a
Rollup merge of #55148 - SimonSapin:path-fromstr, r=oli-obk
Mark-Simulacrum Oct 27, 2018
be00065
Rollup merge of #55185 - davidtwco:issue-55130, r=nikomatsakis
Mark-Simulacrum Oct 27, 2018
671e8ea
Rollup merge of #55252 - SimonSapin:maybeuninit-new, r=bluss
Mark-Simulacrum Oct 27, 2018
b3740b1
Rollup merge of #55257 - mjbshaw:static, r=oli-obk
Mark-Simulacrum Oct 27, 2018
805fcb6
Rollup merge of #55262 - oli-obk:dangling_alloc_id_ice, r=RalfJung
Mark-Simulacrum Oct 27, 2018
0956690
Rollup merge of #55330 - scalexm:bound-ty, r=nikomatsakis
Mark-Simulacrum Oct 27, 2018
2994675
Rollup merge of #55349 - bjorn3:rustc_mir_collect_and_partition_mono_…
Mark-Simulacrum Oct 27, 2018
18d3f3f
Rollup merge of #55389 - meven:master, r=shepmaster
Mark-Simulacrum Oct 27, 2018
545eae8
Rollup merge of #55406 - rick68:patch-16, r=varkor
Mark-Simulacrum Oct 27, 2018
25be4f6
Rollup merge of #55412 - oli-obk:min_const_fn_ice, r=estebank
Mark-Simulacrum Oct 27, 2018
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
Update string.rs
remove unused variable i in example String::with_capacity()
  • Loading branch information
rick68 authored Oct 27, 2018
commit 4cb611f3d1287526b99e9de93f7f034ab60947cd
2 changes: 1 addition & 1 deletion src/liballoc/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ impl String {
///
/// // These are all done without reallocating...
/// let cap = s.capacity();
/// for i in 0..10 {
/// for _ in 0..10 {
/// s.push('a');
/// }
///
Expand Down