libsyntax: add some more explicit copies for vecs_implicitly_copyable)

This commit is contained in:
Erick Tryzelaar 2013-03-02 11:17:11 -08:00
parent afdd0b868a
commit 4172faea84
3 changed files with 8 additions and 7 deletions

View file

@ -140,7 +140,7 @@ pub fn count_names(ms: &[matcher]) -> uint {
}
#[allow(non_implicitly_copyable_typarams)]
pub fn initial_matcher_pos(+ms: ~[matcher], sep: Option<Token>, lo: BytePos)
pub fn initial_matcher_pos(+ms: ~[matcher], +sep: Option<Token>, lo: BytePos)
-> ~MatcherPos {
let mut match_idx_hi = 0u;
for ms.each |elt| {