diff options
| author | Kevin Cantu <me@kevincantu.org> | 2012-10-12 12:32:36 -0700 |
|---|---|---|
| committer | Kevin Cantu <me@kevincantu.org> | 2012-10-12 14:14:48 -0700 |
| commit | 1bede1f5e0012069feaf093a6287256af606ff92 (patch) | |
| tree | d992d648999c3e5ed947fc1db4b35af08fd2f9f8 /src/rustdoc/attr_pass.rs | |
| parent | 45d1cd83ab903d377f3b03fd2dc74da42100e308 (diff) | |
| download | rust-1bede1f5e0012069feaf093a6287256af606ff92.tar.gz rust-1bede1f5e0012069feaf093a6287256af606ff92.zip | |
Replace several common macros of the form #m[...] with m!(...)
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
Diffstat (limited to 'src/rustdoc/attr_pass.rs')
| -rw-r--r-- | src/rustdoc/attr_pass.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustdoc/attr_pass.rs b/src/rustdoc/attr_pass.rs index d5f0ca9f507..56ebbfe9b51 100644 --- a/src/rustdoc/attr_pass.rs +++ b/src/rustdoc/attr_pass.rs @@ -157,7 +157,7 @@ fn fold_enum( attr_parser::parse_desc(ast_variant.node.attrs) } - _ => fail #fmt("Enum variant %s has id that's not bound \ + _ => fail fmt!("Enum variant %s has id that's not bound \ to an enum item", variant.name) } }; |
