]> git.lizzy.rs Git - rust.git/commitdiff
fix rebase
authorEsteban Küber <esteban@commure.com>
Fri, 20 Jul 2018 18:04:23 +0000 (11:04 -0700)
committerEsteban Küber <esteban@commure.com>
Fri, 20 Jul 2018 18:04:23 +0000 (11:04 -0700)
src/libfmt_macros/lib.rs

index 6f4989c3e87d8137088887015f7722ed9cc95d96..52223b2343ca86ec84315bf4d1526ce76889bc0f 100644 (file)
@@ -579,7 +579,7 @@ fn fmtdflt() -> FormatSpec<'static> {
     }
 
     fn musterr(s: &str) {
-        let mut p = Parser::new(fmt, syntax::ast::StrStyle::Cooked);
+        let mut p = Parser::new(s, syntax::ast::StrStyle::Cooked);
         p.next();
         assert!(!p.errors.is_empty());
     }