about summary refs log tree commit diff
path: root/src/libsyntax/parse/mod.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2016-08-10 16:20:12 -0700
committerKeith Yeung <kungfukeith11@gmail.com>2016-08-27 22:43:51 -0700
commitaa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9 (patch)
tree89d3aafd243d531332c7b5e993b51c21bcbe64d3 /src/libsyntax/parse/mod.rs
parent1e9e798ccea7f70480c3bcc86e271ca2191b8675 (diff)
downloadrust-aa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9.tar.gz
rust-aa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9.zip
Change Constness to Spanned<Constness>
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
-rw-r--r--src/libsyntax/parse/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index cd1fdcfe9d1..a89dc80df4b 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -937,7 +937,10 @@ mod tests {
                                 variadic: false
                             }),
                                     ast::Unsafety::Normal,
-                                    ast::Constness::NotConst,
+                                    Spanned {
+                                        span: sp(0,2),
+                                        node: ast::Constness::NotConst,
+                                    },
                                     Abi::Rust,
                                     ast::Generics{ // no idea on either of these:
                                         lifetimes: Vec::new(),