File: disambiguator-endswith-named-suffix.rs

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (111 lines) | stat: -rw-r--r-- 4,385 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//@ check-pass
//@ normalize-stderr: "nightly|beta|1\.[0-9][0-9]\.[0-9]" -> "$$CHANNEL"

//! [struct@m!()]   //~ WARN: unmatched disambiguator `struct` and suffix `!()`
//! [struct@m!{}]
//! [struct@m![]]
//! [struct@f()]    //~ WARN: unmatched disambiguator `struct` and suffix `()`
//! [struct@m!]     //~ WARN: unmatched disambiguator `struct` and suffix `!`
//!
//! [enum@m!()]     //~ WARN: unmatched disambiguator `enum` and suffix `!()`
//! [enum@m!{}]
//! [enum@m![]]
//! [enum@f()]      //~ WARN: unmatched disambiguator `enum` and suffix `()`
//! [enum@m!]       //~ WARN: unmatched disambiguator `enum` and suffix `!`
//!
//! [trait@m!()]    //~ WARN: unmatched disambiguator `trait` and suffix `!()`
//! [trait@m!{}]
//! [trait@m![]]
//! [trait@f()]     //~ WARN: unmatched disambiguator `trait` and suffix `()`
//! [trait@m!]      //~ WARN: unmatched disambiguator `trait` and suffix `!`
//!
//! [module@m!()]   //~ WARN: unmatched disambiguator `module` and suffix `!()`
//! [module@m!{}]
//! [module@m![]]
//! [module@f()]    //~ WARN: unmatched disambiguator `module` and suffix `()`
//! [module@m!]     //~ WARN: unmatched disambiguator `module` and suffix `!`
//!
//! [mod@m!()]      //~ WARN: unmatched disambiguator `mod` and suffix `!()`
//! [mod@m!{}]
//! [mod@m![]]
//! [mod@f()]       //~ WARN: unmatched disambiguator `mod` and suffix `()`
//! [mod@m!]        //~ WARN: unmatched disambiguator `mod` and suffix `!`
//!
//! [const@m!()]    //~ WARN: unmatched disambiguator `const` and suffix `!()`
//! [const@m!{}]
//! [const@m![]]
//! [const@f()]     //~ WARN: incompatible link kind for `f`
//! [const@m!]      //~ WARN: unmatched disambiguator `const` and suffix `!`
//!
//! [constant@m!()]   //~ WARN: unmatched disambiguator `constant` and suffix `!()`
//! [constant@m!{}]
//! [constant@m![]]
//! [constant@f()]    //~ WARN: incompatible link kind for `f`
//! [constant@m!]     //~ WARN: unmatched disambiguator `constant` and suffix `!`
//!
//! [static@m!()]   //~ WARN: unmatched disambiguator `static` and suffix `!()`
//! [static@m!{}]
//! [static@m![]]
//! [static@f()]    //~ WARN: incompatible link kind for `f`
//! [static@m!]     //~ WARN: unmatched disambiguator `static` and suffix `!`
//!
//! [function@m!()]   //~ WARN: unmatched disambiguator `function` and suffix `!()`
//! [function@m!{}]
//! [function@m![]]
//! [function@f()]
//! [function@m!]     //~ WARN: unmatched disambiguator `function` and suffix `!`
//!
//! [fn@m!()]   //~ WARN: unmatched disambiguator `fn` and suffix `!()`
//! [fn@m!{}]
//! [fn@m![]]
//! [fn@f()]
//! [fn@m!]     //~ WARN: unmatched disambiguator `fn` and suffix `!`
//!
//! [method@m!()]   //~ WARN: unmatched disambiguator `method` and suffix `!()`
//! [method@m!{}]
//! [method@m![]]
//! [method@f()]
//! [method@m!]     //~ WARN: unmatched disambiguator `method` and suffix `!`
//!
//! [derive@m!()]   //~ WARN: incompatible link kind for `m`
//! [derive@m!{}]   //~ WARN: incompatible link kind for `m`
//! [derive@m![]]
//! [derive@f()]    //~ WARN: unmatched disambiguator `derive` and suffix `()`
//! [derive@m!]     //~ WARN: incompatible link kind for `m`
//!
//! [type@m!()]   //~ WARN: unmatched disambiguator `type` and suffix `!()`
//! [type@m!{}]
//! [type@m![]]
//! [type@f()]    //~ WARN: unmatched disambiguator `type` and suffix `()`
//! [type@m!]     //~ WARN: unmatched disambiguator `type` and suffix `!`
//!
//! [value@m!()]   //~ WARN: unmatched disambiguator `value` and suffix `!()`
//! [value@m!{}]
//! [value@m![]]
//! [value@f()]
//! [value@m!]     //~ WARN: unmatched disambiguator `value` and suffix `!`
//!
//! [macro@m!()]
//! [macro@m!{}]
//! [macro@m![]]
//! [macro@f()]    //~ WARN: unmatched disambiguator `macro` and suffix `()`
//! [macro@m!]
//!
//! [prim@m!()]   //~ WARN: unmatched disambiguator `prim` and suffix `!()`
//! [prim@m!{}]
//! [prim@m![]]
//! [prim@f()]    //~ WARN: unmatched disambiguator `prim` and suffix `()`
//! [prim@m!]     //~ WARN: unmatched disambiguator `prim` and suffix `!`
//!
//! [primitive@m!()]   //~ WARN: unmatched disambiguator `primitive` and suffix `!()`
//! [primitive@m!{}]
//! [primitive@m![]]
//! [primitive@f()]    //~ WARN: unmatched disambiguator `primitive` and suffix `()`
//! [primitive@m!]     //~ WARN: unmatched disambiguator `primitive` and suffix `!`

#[macro_export]
macro_rules! m {
    () => {};
}

pub fn f() {}