File: issue_3159.rs

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (11 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#![allow(unexpected_cfgs)]

use swc_common::ast_serde;

#[ast_serde]
pub enum Message {
    #[tag("Request")]
    Request(String),
    #[tag("Response")]
    Response(u8),
}