Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aster"
version = "0.4.3"
version = "0.4.4"
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A libsyntax ast builder"
Expand Down
4 changes: 2 additions & 2 deletions src/mac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use syntax::ext::expand;
use syntax::ext::quote::rt::ToTokens;
use syntax::feature_gate::GatedCfg;
use syntax::parse::ParseSess;
use syntax::parse::token::intern;
use syntax::ptr::P;

use expr::ExprBuilder;
Expand Down Expand Up @@ -96,8 +97,7 @@ fn make_ext_ctxt<'a>(sess: &'a ParseSess,
let info = codemap::ExpnInfo {
call_site: codemap::DUMMY_SP,
callee: codemap::NameAndSpan {
name: "test".to_string(),
format: codemap::MacroAttribute,
format: codemap::MacroBang(intern("test")),
allow_internal_unstable: false,
span: None
}
Expand Down