Skip to content

Commit d3f79cf

Browse files
Icxoludavidhewitt
authored andcommitted
ci: updates for Rust 1.83 (#4741)
1 parent 42bd0e5 commit d3f79cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/ui/invalid_pyfunctions.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ error[E0277]: the trait bound `&str: From<BoundRef<'_, '_, pyo3::types::PyModule
5858
`String` implements `From<&mut str>`
5959
`String` implements `From<&str>`
6060
`String` implements `From<Box<str>>`
61-
`String` implements `From<Cow<'a, str>>`
61+
`String` implements `From<Cow<'_, str>>`
6262
`String` implements `From<char>`
6363
= note: required for `BoundRef<'_, '_, pyo3::types::PyModule>` to implement `Into<&str>`

tests/ui/static_ref.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error: lifetime may not live long enough
55
| ^^^^^^^^^^^^^
66
| |
77
| lifetime `'py` defined here
8-
| cast requires that `'py` must outlive `'static`
8+
| coercion requires that `'py` must outlive `'static`
99
|
1010
= note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
1111

@@ -42,6 +42,6 @@ error: lifetime may not live long enough
4242
| ^^^^^^^^^^^^^
4343
| |
4444
| lifetime `'py` defined here
45-
| cast requires that `'py` must outlive `'static`
45+
| coercion requires that `'py` must outlive `'static`
4646
|
4747
= note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)