dtolnay/iota

Support pub(restricted) visibilities

Offen

#4 geöffnet am 26.12.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1 Fork)github user discovery
help wanted

Repository-Metriken

Stars
 (18 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide