]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35962 - regexident:compiler-plugin-docs, r=steveklabnik
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 30 Aug 2016 08:39:06 +0000 (10:39 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2016 08:39:06 +0000 (10:39 +0200)
commit8d808a2df6511de66c3604618e169ce470f39d3c
tree18e5b4f83a6d7e904550993537702f5d6a701621
parent325b7111c2bcb9c44ed4c1ea7348a7357de23fa0
parentbf22a7a71ab47a7d2074134b02b02df1d6ce497e
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?