Skip to content

Commit 6e0f96e

Browse files
committed
fixup tests
1 parent 4a64abd commit 6e0f96e

File tree

2 files changed

+23
-25
lines changed

2 files changed

+23
-25
lines changed

tests/ui/macros/genercs-in-path-with-prettry-hir.stdout

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ extern crate std;
77
// issue#97006
88

99
macro_rules! m { ($attr_path: path) => { #[$attr_path] fn f() {} } }
10-
#[
11-
12-
inline]
10+
#[inline]
1311
fn f() { }
1412

1513
fn main() { }

tests/ui/stats/hir-stats.stderr

+22-22
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ hir-stats Name Accumulated Size Count Item Size
120120
hir-stats ----------------------------------------------------------------
121121
hir-stats ForeignItemRef 24 ( 0.3%) 1 24
122122
hir-stats Lifetime 24 ( 0.3%) 1 24
123-
hir-stats Mod 32 ( 0.4%) 1 32
123+
hir-stats Mod 32 ( 0.3%) 1 32
124124
hir-stats ExprField 40 ( 0.4%) 1 40
125125
hir-stats TraitItemRef 56 ( 0.6%) 2 28
126126
hir-stats GenericArg 64 ( 0.7%) 4 16
@@ -132,47 +132,47 @@ hir-stats Body 72 ( 0.8%) 3 24
132132
hir-stats InlineAsm 72 ( 0.8%) 1 72
133133
hir-stats ImplItemRef 72 ( 0.8%) 2 36
134134
hir-stats Arm 80 ( 0.9%) 2 40
135-
hir-stats FieldDef 96 ( 1.1%) 2 48
136-
hir-stats Stmt 96 ( 1.1%) 3 32
137-
hir-stats - Let 32 ( 0.4%) 1
138-
hir-stats - Semi 32 ( 0.4%) 1
139-
hir-stats - Expr 32 ( 0.4%) 1
135+
hir-stats FieldDef 96 ( 1.0%) 2 48
136+
hir-stats Stmt 96 ( 1.0%) 3 32
137+
hir-stats - Let 32 ( 0.3%) 1
138+
hir-stats - Semi 32 ( 0.3%) 1
139+
hir-stats - Expr 32 ( 0.3%) 1
140140
hir-stats FnDecl 120 ( 1.3%) 3 40
141-
hir-stats Attribute 128 ( 1.4%) 4 32
142141
hir-stats Variant 144 ( 1.6%) 2 72
143142
hir-stats GenericArgs 144 ( 1.6%) 3 48
144143
hir-stats GenericBound 192 ( 2.1%) 4 48
145144
hir-stats - Trait 192 ( 2.1%) 4
146145
hir-stats WherePredicate 192 ( 2.1%) 3 64
147146
hir-stats - BoundPredicate 192 ( 2.1%) 3
148-
hir-stats Block 288 ( 3.2%) 6 48
149-
hir-stats GenericParam 360 ( 4.0%) 5 72
150-
hir-stats Pat 360 ( 4.0%) 5 72
147+
hir-stats Block 288 ( 3.1%) 6 48
148+
hir-stats GenericParam 360 ( 3.9%) 5 72
149+
hir-stats Pat 360 ( 3.9%) 5 72
151150
hir-stats - Wild 72 ( 0.8%) 1
152151
hir-stats - Struct 72 ( 0.8%) 1
153-
hir-stats - Binding 216 ( 2.4%) 3
154-
hir-stats Generics 560 ( 6.2%) 10 56
155-
hir-stats Ty 720 ( 8.0%) 15 48
152+
hir-stats - Binding 216 ( 2.3%) 3
153+
hir-stats Attribute 384 ( 4.2%) 4 96
154+
hir-stats Generics 560 ( 6.1%) 10 56
155+
hir-stats Ty 720 ( 7.8%) 15 48
156156
hir-stats - Ptr 48 ( 0.5%) 1
157157
hir-stats - Ref 48 ( 0.5%) 1
158-
hir-stats - Path 624 ( 7.0%) 13
159-
hir-stats Expr 768 ( 8.6%) 12 64
158+
hir-stats - Path 624 ( 6.8%) 13
159+
hir-stats Expr 768 ( 8.3%) 12 64
160160
hir-stats - Path 64 ( 0.7%) 1
161161
hir-stats - Struct 64 ( 0.7%) 1
162162
hir-stats - Match 64 ( 0.7%) 1
163163
hir-stats - InlineAsm 64 ( 0.7%) 1
164164
hir-stats - Lit 128 ( 1.4%) 2
165-
hir-stats - Block 384 ( 4.3%) 6
166-
hir-stats Item 968 (10.8%) 11 88
165+
hir-stats - Block 384 ( 4.2%) 6
166+
hir-stats Item 968 (10.5%) 11 88
167167
hir-stats - Trait 88 ( 1.0%) 1
168168
hir-stats - Enum 88 ( 1.0%) 1
169169
hir-stats - ExternCrate 88 ( 1.0%) 1
170170
hir-stats - ForeignMod 88 ( 1.0%) 1
171171
hir-stats - Impl 88 ( 1.0%) 1
172-
hir-stats - Fn 176 ( 2.0%) 2
173-
hir-stats - Use 352 ( 3.9%) 4
174-
hir-stats Path 1_240 (13.8%) 31 40
175-
hir-stats PathSegment 1_920 (21.4%) 40 48
172+
hir-stats - Fn 176 ( 1.9%) 2
173+
hir-stats - Use 352 ( 3.8%) 4
174+
hir-stats Path 1_240 (13.5%) 31 40
175+
hir-stats PathSegment 1_920 (20.8%) 40 48
176176
hir-stats ----------------------------------------------------------------
177-
hir-stats Total 8_960
177+
hir-stats Total 9_216
178178
hir-stats

0 commit comments

Comments
 (0)