@@ -222,7 +222,7 @@ LL | const extern "C" fn c() {}
222222 | +++++
223223
224224error: this could be a `const fn`
225- --> tests/ui/missing_const_for_fn/could_be_const.rs:153 :9
225+ --> tests/ui/missing_const_for_fn/could_be_const.rs:154 :9
226226 |
227227LL | extern fn implicit_c() {}
228228 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -233,7 +233,7 @@ LL | const extern fn implicit_c() {}
233233 | +++++
234234
235235error: this could be a `const fn`
236- --> tests/ui/missing_const_for_fn/could_be_const.rs:170 :9
236+ --> tests/ui/missing_const_for_fn/could_be_const.rs:171 :9
237237 |
238238LL | / pub fn new(strings: Vec<String>) -> Self {
239239LL | | Self { strings }
@@ -246,7 +246,7 @@ LL | pub const fn new(strings: Vec<String>) -> Self {
246246 | +++++
247247
248248error: this could be a `const fn`
249- --> tests/ui/missing_const_for_fn/could_be_const.rs:175 :9
249+ --> tests/ui/missing_const_for_fn/could_be_const.rs:176 :9
250250 |
251251LL | / pub fn empty() -> Self {
252252LL | | Self { strings: Vec::new() }
@@ -259,7 +259,7 @@ LL | pub const fn empty() -> Self {
259259 | +++++
260260
261261error: this could be a `const fn`
262- --> tests/ui/missing_const_for_fn/could_be_const.rs:186 :9
262+ --> tests/ui/missing_const_for_fn/could_be_const.rs:187 :9
263263 |
264264LL | / pub fn new(text: String) -> Self {
265265LL | | let vec = Vec::new();
@@ -273,7 +273,7 @@ LL | pub const fn new(text: String) -> Self {
273273 | +++++
274274
275275error: this could be a `const fn`
276- --> tests/ui/missing_const_for_fn/could_be_const.rs:205 :5
276+ --> tests/ui/missing_const_for_fn/could_be_const.rs:206 :5
277277 |
278278LL | fn alias_ty_is_projection(bar: <() as FooTrait>::Foo) {}
279279 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -284,7 +284,7 @@ LL | const fn alias_ty_is_projection(bar: <() as FooTrait>::Foo) {}
284284 | +++++
285285
286286error: this could be a `const fn`
287- --> tests/ui/missing_const_for_fn/could_be_const.rs:209 :5
287+ --> tests/ui/missing_const_for_fn/could_be_const.rs:210 :5
288288 |
289289LL | extern "C-unwind" fn c_unwind() {}
290290 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -295,7 +295,7 @@ LL | const extern "C-unwind" fn c_unwind() {}
295295 | +++++
296296
297297error: this could be a `const fn`
298- --> tests/ui/missing_const_for_fn/could_be_const.rs:211 :5
298+ --> tests/ui/missing_const_for_fn/could_be_const.rs:212 :5
299299 |
300300LL | extern "system" fn system() {}
301301 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -306,7 +306,7 @@ LL | const extern "system" fn system() {}
306306 | +++++
307307
308308error: this could be a `const fn`
309- --> tests/ui/missing_const_for_fn/could_be_const.rs:213 :5
309+ --> tests/ui/missing_const_for_fn/could_be_const.rs:214 :5
310310 |
311311LL | extern "system-unwind" fn system_unwind() {}
312312 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -317,7 +317,7 @@ LL | const extern "system-unwind" fn system_unwind() {}
317317 | +++++
318318
319319error: this could be a `const fn`
320- --> tests/ui/missing_const_for_fn/could_be_const.rs:215 :5
320+ --> tests/ui/missing_const_for_fn/could_be_const.rs:216 :5
321321 |
322322LL | pub extern "vectorcall" fn std_call() {}
323323 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -328,7 +328,7 @@ LL | pub const extern "vectorcall" fn std_call() {}
328328 | +++++
329329
330330error: this could be a `const fn`
331- --> tests/ui/missing_const_for_fn/could_be_const.rs:217 :5
331+ --> tests/ui/missing_const_for_fn/could_be_const.rs:218 :5
332332 |
333333LL | pub extern "vectorcall-unwind" fn std_call_unwind() {}
334334 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments