Debian Codegraph @

tests/trailing_comma.rs

raw symbols SCIP
1 /*
2 Copyright ⓒ 2015 macro-attr contributors.
3
4 Licensed under the MIT license (see LICENSE or <http://opensource.org
5 /licenses/MIT>) or the Apache License, Version 2.0 (see LICENSE of
6 <http://www.apache.org/licenses/LICENSE-2.0>), at your option. All
7 files in the project carrying such notice may not be copied, modified,
8 or distributed except according to those terms.
9 */
10 #[macro_use] extern crate macro_attrrust-analyzer cargo macro-attr 0.2.0 macro_attr/;
11
12 macro_rules! Dummyrust-analyzer cargo macro-attr 0.2.0 Dummy! {
13 ($($tts:tt)*) => {};
14 }
15
16 macro_attrrust-analyzer cargo macro-attr 0.2.0 macro_attr!! {
17 #[derive(Dummyrust-analyzer cargo macro-attr 0.2.0 Dummy!!,)]
18 enum Foorust-analyzer cargo macro-attr 0.2.0 Foo# { Barrust-analyzer cargo macro-attr 0.2.0 Foo#Bar# }
19 }
20
21 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
22 fn test_trailing_commarust-analyzer cargo macro-attr 0.2.0 test_trailing_comma().() {
23 let _ = Foorust-analyzer cargo macro-attr 0.2.0 Foo#::Barrust-analyzer cargo macro-attr 0.2.0 Foo#Bar#;
24 }