pyo3/tests/ui
Ashley Anderson bf26daec2d
Positional-only args (#1925)
* Add support for positional-only args

* Update changelog. Add a few more tests. Run rust-fmt.

* Fix test.

* Fix tests again.

* Update CHANGELOG.md to link PR instead of issue

* Update guide to mention positional-only params

* Add unreachable!() per code review

* Update and expand tests for pos args.

* Fix tests, lint, add UI tests.

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-10-19 23:13:27 +01: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 pymethods: support __rtruediv__ and __rfloordiv__ 2021-10-17 08:33:46 +01:00
deprecations.rs pymodule: accept `#[pyo3(name = "...")]` option 2021-06-06 08:41:20 +01:00
deprecations.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_argument_attributes.rs add #[pyo3(from_py_with="...")] attribute (#1411) 2021-02-21 00:15:20 +09:00
invalid_argument_attributes.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_closure.rs pycfunction: add PyCFunction::new_closure rust defined closures 2021-10-17 07:59:50 +01:00
invalid_closure.stderr pycfunction: add PyCFunction::new_closure rust defined closures 2021-10-17 07:59:50 +01:00
invalid_frompy_derive.rs import FromPyObject into crate root 2021-09-14 14:07:23 +02:00
invalid_frompy_derive.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_macro_args.rs Positional-only args (#1925) 2021-10-19 23:13:27 +01:00
invalid_macro_args.stderr Positional-only args (#1925) 2021-10-19 23:13:27 +01:00
invalid_need_module_arg_position.rs pyfn: deprecate name argument 2021-05-20 08:54:29 +01:00
invalid_need_module_arg_position.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_property_args.rs pyclass: allow `#[pyo3(get, set, name = "foo")]` 2021-06-04 11:30:40 +01:00
invalid_property_args.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_pyclass_args.rs deprecate pyclass name without quotes 2020-12-12 11:11:11 +00:00
invalid_pyclass_args.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_pyfunctions.rs pyfunction: better error message with `async fn` 2021-05-25 11:32:52 +01:00
invalid_pyfunctions.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_pymethod_names.rs macros: support `#[pyo3(name = "...")]` 2021-05-07 22:35:52 +01:00
invalid_pymethod_names.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_pymethod_receiver.rs Allow #[getter] and #[setter] functions to take PyRef 2020-06-27 14:55:22 +01:00
invalid_pymethod_receiver.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_pymethods.rs pyfunction: document `#[pyo3(pass_module)]` 2021-06-05 17:36:50 +01:00
invalid_pymethods.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
invalid_result_conversion.rs Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
invalid_result_conversion.stderr chore: pin trybuild version (#1906) 2021-10-10 17:22:29 +02:00
missing_clone.rs FromPyObject for #[pyclass] with T: Clone 2020-01-24 08:57:28 +00:00
missing_clone.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
pyclass_send.rs pyclass: add !Send compile_error test 2021-01-05 23:25:28 +00:00
pyclass_send.stderr pymethods: support __rtruediv__ and __rfloordiv__ 2021-10-17 08:33:46 +01:00
reject_generics.rs Reject generics explicitly for #[pyclass] 2019-06-05 18:46:17 +09:00
reject_generics.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
static_ref.rs Require Send for #[pyclass] 2020-06-08 02:06:15 +01:00
static_ref.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00
wrong_aspyref_lifetimes.rs pyany: add PyAny::py() 2021-08-13 08:00:13 +01:00
wrong_aspyref_lifetimes.stderr Fix additional tests after trybuild update 2021-10-11 20:52:24 -04:00