about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-10 01:08:05 +0000
committerbors <bors@rust-lang.org>2018-12-10 01:08:05 +0000
commite2c329c72c3d764423c3909c7483cf2fd6659626 (patch)
treec30353b85f87bf3d9f2bbe3f33665816ddc47e3e /src/libsyntax_ext
parent9cb38a84e7d593106946cae8e25d9cdbf24751ee (diff)
parentcdc66334242dec2d30a17988ca8d150c65580620 (diff)
downloadrust-e2c329c72c3d764423c3909c7483cf2fd6659626.tar.gz
rust-e2c329c72c3d764423c3909c7483cf2fd6659626.zip
Auto merge of #56269 - nnethercote:_match-Matrix-SmallVec, r=simulacrum
Use a `SmallVec` within `_match::Matrix`.

This avoids allocations.
Diffstat (limited to 'src/libsyntax_ext')
-rw-r--r--src/libsyntax_ext/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/Cargo.toml b/src/libsyntax_ext/Cargo.toml
index 4979d0b3e92..7ad08f75e8b 100644
--- a/src/libsyntax_ext/Cargo.toml
+++ b/src/libsyntax_ext/Cargo.toml
@@ -15,5 +15,5 @@ syntax = { path = "../libsyntax" }
 syntax_pos = { path = "../libsyntax_pos" }
 rustc_data_structures = { path = "../librustc_data_structures" }
 rustc_target = { path = "../librustc_target" }
-smallvec = { version = "0.6.5", features = ["union"] }
+smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }
 log = "0.4"