We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5bca7d commit 95bdedfCopy full SHA for 95bdedf
src/test/run-pass/item-attributes.rs
@@ -1,14 +1,16 @@
1
-
2
3
4
// xfail-stage0
+
5
mod test_single_attr_outer {
6
7
#[attr = "val"]
8
const int x = 10;
9
10
11
- mod mod1 { }
+ fn f() {}
+ #[attr = "val"]
12
+ mod mod1 {
13
+ }
14
15
16
native "rust" mod rustrt { }
@@ -29,7 +31,12 @@ mod test_multi_attr_outer {
29
31
30
32
#[attr1 = "val"]
33
#[attr2 = "val"]
34
35
36
+ #[attr1 = "val"]
37
+ #[attr2 = "val"]
38
39
40
41
42
@@ -45,4 +52,4 @@ mod test_multi_attr_outer {
45
52
obj o() { }
46
53
}
47
54
48
-fn main() { }
55
+fn main() { }
0 commit comments