about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-24 15:17:07 -0700
committerGitHub <noreply@github.com>2016-09-24 15:17:07 -0700
commita0843d7210f41974a0a2bc6876c538718404c268 (patch)
tree42bc0f89e06e23038057ee5ceeb30101ee12eda6 /src/test/run-pass/thinlto
parent05c2fdd64f3f4acc358b653616de6034eced49b5 (diff)
parentcf50f5f965c3d3dc56fce25f2eaf8f66194f69e4 (diff)
downloadrust-a0843d7210f41974a0a2bc6876c538718404c268.tar.gz
rust-a0843d7210f41974a0a2bc6876c538718404c268.zip
Auto merge of #36657 - nnethercote:rm-TypedArena-with_capacity, r=eddyb
[breaking-change] Remove TypedArena::with_capacity

This is a follow-up to #36592.

The function is unused by rustc. Also, it doesn't really follow the
usual meaning of a `with_capacity` function because the first chunk
allocation is now delayed until the first `alloc` call.

This change reduces the size of `TypedArena` by one `usize`.

@eddyb: we discussed this on IRC. Would you like to review it?
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions