libsyntax: add some more explicit copies for vecs_implicitly_copyable)
This commit is contained in:
parent
afdd0b868a
commit
4172faea84
3 changed files with 8 additions and 7 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue