diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-12-05 15:06:54 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-12-05 15:07:48 -0800 |
| commit | 1282fc80740b5c462a094c45f65cb1ce0c1d7756 (patch) | |
| tree | db00ba38f707047b7e16cce8040aa72a0e7c7a3a /src/libsyntax/print | |
| parent | a05ba09d904b366f467479cb022c76f287befa43 (diff) | |
| download | rust-1282fc80740b5c462a094c45f65cb1ce0c1d7756.tar.gz rust-1282fc80740b5c462a094c45f65cb1ce0c1d7756.zip | |
librustc: Hook borrow check loan checking up to the moves-based-on-type infrastructure. rs=helps-unbreak-the-build
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pp.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index a51089334f0..3e9fe805260 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -461,7 +461,11 @@ impl printer { fn print(x: token, L: int) { debug!("print %s %d (remaining line space=%d)", tok_str(x), L, self.space); - log(debug, buf_str(self.token, self.size, self.left, self.right, 6u)); + log(debug, buf_str(copy self.token, + copy self.size, + self.left, + self.right, + 6u)); match x { BEGIN(b) => { if L > self.space { |
