From: Guillaume Gomez Date: Tue, 30 Aug 2016 08:39:06 +0000 (+0200) Subject: Rollup merge of #35962 - regexident:compiler-plugin-docs, r=steveklabnik X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=8d808a2df6511de66c3604618e169ce470f39d3c;p=rust.git Rollup merge of #35962 - regexident:compiler-plugin-docs, r=steveklabnik Updated code sample in chapter on syntax extensions. The affected API apparently had changed with commit d59accfb065843d12db9180a4f504664e3d23ef1. --- Further more I had to add ```toml [lib] name = "roman_numerals" crate-type = ["dylib"] ``` to `Cargo.toml` as I otherwise got this compiler error (despite `#![crate_type="dylib"]`): [E0457]: plugin `roman_numerals` only found in rlib format, but must be available in dylib format Might be worth adding a note about that? --- 8d808a2df6511de66c3604618e169ce470f39d3c