diff options
author | Daniel Mueller <deso@posteo.net> | 2019-05-24 17:39:14 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-05-24 17:39:14 -0700 |
commit | 5383aa73b339e6a53ff027ee6012a3428f67466a (patch) | |
tree | 013a10355c77fcf785a740bd533e4294dd994fd7 /libc/src/unix/solarish/compat.rs | |
parent | 4625be03bbebe74f5efa93a37f287e7911fbbbb4 (diff) | |
download | nitrocli-5383aa73b339e6a53ff027ee6012a3428f67466a.tar.gz nitrocli-5383aa73b339e6a53ff027ee6012a3428f67466a.tar.bz2 |
Allow for unused doc comments on macros
With Rust 1.35 we get compile errors due to doc comments that are added
to macro invocations but not actually included in the expanded output.
The rustc wrongly assumes that we want to document the resulting code
and not just provide details about the invocation itself.
This change explicitly allows for those cases. Alternatively we could
have "downgraded" the doc comments to normal comments or removed them
altogether. There is little difference between those alternatives.
Diffstat (limited to 'libc/src/unix/solarish/compat.rs')
0 files changed, 0 insertions, 0 deletions