update ui tests for Rust 1.66
This commit is contained in:
parent
882b9c7aa7
commit
f01b245d85
|
@ -127,24 +127,24 @@ error: Python objects are shared, so 'self' cannot be moved out of the Python in
|
|||
138 | fn method_self_by_value(self) {}
|
||||
| ^^^^
|
||||
|
||||
error[E0201]: duplicate definitions with name `__pymethod___new____`:
|
||||
error[E0592]: duplicate definitions with name `__pymethod___new____`
|
||||
--> tests/ui/invalid_pymethods.rs:143:1
|
||||
|
|
||||
143 | #[pymethods]
|
||||
| ^^^^^^^^^^^^
|
||||
| |
|
||||
| previous definition of `__pymethod___new____` here
|
||||
| duplicate definition
|
||||
| duplicate definitions for `__pymethod___new____`
|
||||
| other definition for `__pymethod___new____`
|
||||
|
|
||||
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0201]: duplicate definitions with name `__pymethod_func__`:
|
||||
error[E0592]: duplicate definitions with name `__pymethod_func__`
|
||||
--> tests/ui/invalid_pymethods.rs:158:1
|
||||
|
|
||||
158 | #[pymethods]
|
||||
| ^^^^^^^^^^^^
|
||||
| |
|
||||
| previous definition of `__pymethod_func__` here
|
||||
| duplicate definition
|
||||
| duplicate definitions for `__pymethod_func__`
|
||||
| other definition for `__pymethod_func__`
|
||||
|
|
||||
= note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
|
Loading…
Reference in a new issue