about summary refs log tree commit diff
path: root/src/libsyntax_pos
diff options
context:
space:
mode:
authorJonathan Turner <jturner@mozilla.com>2016-07-11 16:02:03 -0400
committerJonathan Turner <jturner@mozilla.com>2016-07-14 07:57:46 -0400
commit71ec2867e3c4cc448cb64890daffd1d5ffbe353b (patch)
tree1b200b63c1c5427567ee22a919e28c04914781ad /src/libsyntax_pos
parenta019c2c6bad2bae7e0f5c527ea8a11615acc037f (diff)
downloadrust-71ec2867e3c4cc448cb64890daffd1d5ffbe353b.tar.gz
rust-71ec2867e3c4cc448cb64890daffd1d5ffbe353b.zip
Implement latest rfc style using simpler rendering
Diffstat (limited to 'src/libsyntax_pos')
-rw-r--r--src/libsyntax_pos/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/lib.rs b/src/libsyntax_pos/lib.rs
index 39bb5956312..7dfe19452a2 100644
--- a/src/libsyntax_pos/lib.rs
+++ b/src/libsyntax_pos/lib.rs
@@ -568,7 +568,7 @@ impl Sub for CharPos {
 //
 
 /// A source code location used for error reporting
-#[derive(Debug)]
+#[derive(Debug, Clone)]
 pub struct Loc {
     /// Information about the original source
     pub file: Rc<FileMap>,