about summary refs log tree commit diff
path: root/src/fuzzer
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2012-08-14 15:27:06 -0700
committerPatrick Walton <pcwalton@mimiga.net>2012-08-15 16:20:31 -0700
commitfe9d07dda6e884df9873376c85941cc766dbd1dc (patch)
tree426406223615438c3ea72db0fe7130dfb9ded1d8 /src/fuzzer
parentfd0f616ceb17ac283717322674e35b7589a27232 (diff)
downloadrust-fe9d07dda6e884df9873376c85941cc766dbd1dc.tar.gz
rust-fe9d07dda6e884df9873376c85941cc766dbd1dc.zip
rustc: "as Trait" can now be written "as @Trait".
There is also code for ~Trait and &Trait, but these are currently (incorrectly)
synonyms for "as @Trait" and "as &Trait".
Diffstat (limited to 'src/fuzzer')
-rw-r--r--src/fuzzer/fuzzer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fuzzer/fuzzer.rs b/src/fuzzer/fuzzer.rs
index 352831c86e6..c6dde67dd75 100644
--- a/src/fuzzer/fuzzer.rs
+++ b/src/fuzzer/fuzzer.rs
@@ -264,7 +264,7 @@ fn check_variants_T<T: copy>(
                     @as_str(|a|pprust::print_crate(
                         codemap,
                         // Assuming we're not generating any token_trees
-                        @syntax::util::interner::mk::<@~str>(
+                        syntax::util::interner::mk::<@~str>(
                             |x| str::hash(*x), |x,y| str::eq(*x,*y)),
                         diagnostic::mk_span_handler(handler, codemap),
                         crate2,
@@ -427,7 +427,7 @@ fn parse_and_print(code: @~str) -> ~str {
                pprust::print_crate(
                    sess.cm,
                    // Assuming there are no token_trees
-                   @syntax::util::interner::mk::<@~str>(
+                   syntax::util::interner::mk::<@~str>(
                        |x| str::hash(*x), |x,y| str::eq(*x,*y)),
                    sess.span_diagnostic,
                    crate,
@@ -576,7 +576,7 @@ fn check_variants(files: ~[~str], cx: context) {
                    as_str(|a| pprust::print_crate(
                        sess.cm,
                        // Assuming no token_trees
-                       @syntax::util::interner::mk::<@~str>(
+                       syntax::util::interner::mk::<@~str>(
                             |x| str::hash(*x), |x,y| str::eq(*x,*y)),
                        sess.span_diagnostic,
                        crate,