dtolnay/iota

Support pub(restricted) visibilities

オープン

#4 opened on 2019/12/26

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (1 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (18 個のスター)
PR merge metrics
 (30d に merged 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

コントリビューターガイド