pyo3/tests/ui
Icxolu cc7e16f4d6
Refactoring of FnArg (#4033)
* refactor `FnArg`

* add UI tests

* use enum variant types

* add comment

* remove dead code

* remove last FIXME

* review feedback davidhewitt
2024-04-14 14:19:57 +00:00
..
abi3_nativetype_inheritance.rs Assorted updates to the abi3 branch from review 2020-10-11 19:51:27 -04:00
abi3_nativetype_inheritance.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
deprecations.rs use extract_argument for #[setter] extraction (#3998) 2024-03-27 15:41:04 +00:00
deprecations.stderr use extract_argument for #[setter] extraction (#3998) 2024-03-27 15:41:04 +00:00
get_set_all.rs Implement get/set all on pyclass 2022-10-17 02:37:43 +02:00
get_set_all.stderr Create better error spans/messages 2022-10-18 21:14:22 +02:00
invalid_argument_attributes.rs add experimental-async feature (#3931) 2024-03-06 00:54:45 +00:00
invalid_argument_attributes.stderr add experimental-async feature (#3931) 2024-03-06 00:54:45 +00:00
invalid_cancel_handle.rs Refactoring of FnArg (#4033) 2024-04-14 14:19:57 +00:00
invalid_cancel_handle.stderr Refactoring of FnArg (#4033) 2024-04-14 14:19:57 +00:00
invalid_closure.rs Update new_closure_bound closure signature (#3883) 2024-02-23 14:07:54 +00:00
invalid_closure.stderr Update new_closure_bound closure signature (#3883) 2024-02-23 14:07:54 +00:00
invalid_frompy_derive.rs test: improve cov 2023-04-27 12:44:38 +08:00
invalid_frompy_derive.stderr test: improve cov 2023-04-27 12:44:38 +08:00
invalid_frozen_pyclass_borrow.rs deprecate the use of PyCell in favor of Bound and Py (#3916) 2024-03-03 14:47:25 +00:00
invalid_frozen_pyclass_borrow.stderr deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00:00
invalid_intern_arg.rs port Python::import to Bound API (#3832) 2024-02-14 00:24:37 +00:00
invalid_intern_arg.stderr port Python::import to Bound API (#3832) 2024-02-14 00:24:37 +00:00
invalid_property_args.rs Add more lints 2022-03-23 08:07:28 +01:00
invalid_property_args.stderr fix: change to from_item_all 2023-04-26 19:47:07 +08:00
invalid_proto_pymethods.rs support ordering magic methods for #[pyclass] 2023-06-04 13:58:18 +01:00
invalid_proto_pymethods.stderr Thread pyo3's path through the builder functions (#3907) 2024-03-04 07:54:04 +00:00
invalid_pyclass_args.rs Make rename_all accept a renaming rule, allow applying it to classes as well 2023-08-15 10:15:48 +02:00
invalid_pyclass_args.stderr remove all functionality deprecated in 0.19 2023-11-27 22:02:19 +00:00
invalid_pyclass_enum.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pyclass_enum.stderr feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pyclass_item.rs Refactor #[pyclass] and now it supports enum. 2021-11-21 20:05:53 +08:00
invalid_pyclass_item.stderr Refactor #[pyclass] and now it supports enum. 2021-11-21 20:05:53 +08:00
invalid_pyfunction_signatures.rs add better error message for Python in signature 2023-02-03 06:57:30 +00:00
invalid_pyfunction_signatures.stderr remove all functionality deprecated in PyO3 0.18 2023-06-13 22:27:43 +01:00
invalid_pyfunctions.rs Refactoring of FnArg (#4033) 2024-04-14 14:19:57 +00:00
invalid_pyfunctions.stderr Refactoring of FnArg (#4033) 2024-04-14 14:19:57 +00:00
invalid_pymethod_enum.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
invalid_pymethod_enum.stderr deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00:00
invalid_pymethod_names.rs error on passing arguments to #[new] and similar attributes 2023-10-08 21:31:59 +01:00
invalid_pymethod_names.stderr error on passing arguments to #[new] and similar attributes 2023-10-08 21:31:59 +01:00
invalid_pymethod_receiver.rs Add more lints 2022-03-23 08:07:28 +01:00
invalid_pymethod_receiver.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
invalid_pymethods.rs improve error for invalid #[classmethod] receivers 2023-11-24 03:24:46 +00:00
invalid_pymethods.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
invalid_pymethods_buffer.rs pymethods: support buffer protocol 2021-12-30 15:48:55 +00:00
invalid_pymethods_buffer.stderr pymethods: support buffer protocol 2021-12-30 15:48:55 +00:00
invalid_pymethods_duplicates.rs improve error for invalid #[classmethod] receivers 2023-11-24 03:24:46 +00:00
invalid_pymethods_duplicates.stderr improve error for invalid #[classmethod] receivers 2023-11-24 03:24:46 +00:00
invalid_pymodule_args.rs Use single-arg form of #[pymodule] function in docs and tests (#3899) 2024-02-28 22:36:50 +00:00
invalid_pymodule_args.stderr deprecations: remove items deprecated in PyO3 0.14 2021-11-19 16:33:29 +00:00
invalid_pymodule_glob.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_glob.stderr #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_in_root.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_in_root.stderr #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_trait.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_trait.stderr Allow inline struct, enum, fn and mod inside of declarative modules (#3902) 2024-03-06 00:31:56 +00:00
invalid_pymodule_two_pymodule_init.rs #[pymodule] mod some_module { ... } v3 (#3815) 2024-02-24 13:50:18 +00:00
invalid_pymodule_two_pymodule_init.stderr Allow inline struct, enum, fn and mod inside of declarative modules (#3902) 2024-03-06 00:31:56 +00:00
invalid_result_conversion.rs deprecate wrap_pyfunction with py argument (#3954) 2024-03-12 22:57:03 +00:00
invalid_result_conversion.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
missing_intopy.rs Fix IntoPyCallbackOutput paper cuts (#2326) 2022-05-09 18:15:43 +01:00
missing_intopy.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
not_send.rs Add more lints 2022-03-23 08:07:28 +01:00
not_send.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
not_send2.rs add PyString::new_bound 2024-01-29 13:14:00 +00:00
not_send2.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
pyclass_send.rs deprecate the use of PyCell in favor of Bound and Py (#3916) 2024-03-03 14:47:25 +00:00
pyclass_send.stderr ci: updates for Rust 1.77 (#3978) 2024-03-22 20:43:23 +00:00
pymodule_missing_docs.rs add #[doc(hidden)] to the Rust module created by #[pymodule] (#4067) 2024-04-12 06:34:08 +00:00
reject_generics.rs pyclass: better error and explanation why lifetimes are disallowed (#2633) 2022-09-22 11:14:06 +02:00
reject_generics.stderr fix: change to from_item_all 2023-04-26 19:47:07 +08:00
static_ref.rs deprecate GIL refs in function argument (#3847) 2024-03-20 22:35:08 +00:00
static_ref.stderr refactor #[setter] argument extraction (#4002) 2024-04-01 12:10:18 +00:00
traverse.rs add descriptive error msg for __traverse__ receivers other than &self (#4045) 2024-04-04 19:08:51 +00:00
traverse.stderr add descriptive error msg for __traverse__ receivers other than &self (#4045) 2024-04-04 19:08:51 +00:00
wrong_aspyref_lifetimes.rs deprecate PyDict::new constructor (#3823) 2024-02-11 23:55:56 +00:00
wrong_aspyref_lifetimes.stderr deprecate PyDict::new constructor (#3823) 2024-02-11 23:55:56 +00:00