Skip to content

Commit b38e07a

Browse files
committed
bless
1 parent 6df9b08 commit b38e07a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tests/ui/missing_panics_doc.stderr

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,88 +72,88 @@ LL | assert_ne!(x, 0);
7272
| ^^^^^^^^^^^^^^^^
7373

7474
error: docs for function which may panic missing `# Panics` section
75-
--> $DIR/missing_panics_doc.rs:128:1
75+
--> $DIR/missing_panics_doc.rs:126:1
7676
|
7777
LL | pub fn panic_undocumented_in_block() {
7878
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7979
|
8080
note: first possible panic found here
81-
--> $DIR/missing_panics_doc.rs:129:5
81+
--> $DIR/missing_panics_doc.rs:127:5
8282
|
8383
LL | panic!();
8484
| ^^^^^^^^
8585

8686
error: docs for function which may panic missing `# Panics` section
87-
--> $DIR/missing_panics_doc.rs:151:5
87+
--> $DIR/missing_panics_doc.rs:166:5
8888
|
8989
LL | pub fn option_unwrap<T>(v: &[T]) -> &T {
9090
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9191
|
9292
note: first possible panic found here
93-
--> $DIR/missing_panics_doc.rs:153:9
93+
--> $DIR/missing_panics_doc.rs:168:9
9494
|
9595
LL | o.unwrap()
9696
| ^^^^^^^^^^
9797

9898
error: docs for function which may panic missing `# Panics` section
99-
--> $DIR/missing_panics_doc.rs:156:5
99+
--> $DIR/missing_panics_doc.rs:171:5
100100
|
101101
LL | pub fn option_expect<T>(v: &[T]) -> &T {
102102
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103103
|
104104
note: first possible panic found here
105-
--> $DIR/missing_panics_doc.rs:158:9
105+
--> $DIR/missing_panics_doc.rs:173:9
106106
|
107107
LL | o.expect("passed an empty thing")
108108
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109109

110110
error: docs for function which may panic missing `# Panics` section
111-
--> $DIR/missing_panics_doc.rs:161:5
111+
--> $DIR/missing_panics_doc.rs:176:5
112112
|
113113
LL | pub fn result_unwrap<T>(v: &[T]) -> &T {
114114
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
115115
|
116116
note: first possible panic found here
117-
--> $DIR/missing_panics_doc.rs:163:9
117+
--> $DIR/missing_panics_doc.rs:178:9
118118
|
119119
LL | res.unwrap()
120120
| ^^^^^^^^^^^^
121121

122122
error: docs for function which may panic missing `# Panics` section
123-
--> $DIR/missing_panics_doc.rs:166:5
123+
--> $DIR/missing_panics_doc.rs:181:5
124124
|
125125
LL | pub fn result_expect<T>(v: &[T]) -> &T {
126126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127127
|
128128
note: first possible panic found here
129-
--> $DIR/missing_panics_doc.rs:168:9
129+
--> $DIR/missing_panics_doc.rs:183:9
130130
|
131131
LL | res.expect("passed an empty thing")
132132
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133133

134134
error: docs for function which may panic missing `# Panics` section
135-
--> $DIR/missing_panics_doc.rs:171:5
135+
--> $DIR/missing_panics_doc.rs:186:5
136136
|
137137
LL | pub fn last_unwrap(v: &[u32]) -> u32 {
138138
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
139139
|
140140
note: first possible panic found here
141-
--> $DIR/missing_panics_doc.rs:172:10
141+
--> $DIR/missing_panics_doc.rs:187:10
142142
|
143143
LL | *v.last().unwrap()
144144
| ^^^^^^^^^^^^^^^^^
145145

146146
error: docs for function which may panic missing `# Panics` section
147-
--> $DIR/missing_panics_doc.rs:175:5
147+
--> $DIR/missing_panics_doc.rs:190:5
148148
|
149149
LL | pub fn last_expect(v: &[u32]) -> u32 {
150150
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
151151
|
152152
note: first possible panic found here
153-
--> $DIR/missing_panics_doc.rs:176:10
153+
--> $DIR/missing_panics_doc.rs:191:10
154154
|
155155
LL | *v.last().expect("passed an empty thing")
156156
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157157

158-
error: aborting due to 12 previous errors
158+
error: aborting due to 13 previous errors
159159

0 commit comments

Comments
 (0)