dtolnay/iota

Support pub(restricted) visibilities

开放

#4 创建于 2019年12月26日

 (0 条评论) (0 个反应) (0 位负责人)Rust (1 个派生)github user discovery
help wanted

仓库指标

星标
 (18 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

iota! {
    pub(crate) const A: u8 = 1 << iota;
        | B
        | C
}
error: no rules expected the token `(`
 --> src/main.rs:4:8
  |
4 |     pub(crate) const A: u8 = 1 << iota;
  |        ^ no rules expected this token in macro call

贡献者指南