Commit graph

13 commits

Author SHA1 Message Date
CheaterCodes
13a2bd7461
Changed return_ref syntax to returns(as_ref) and returns(cloned) (#772)
* Changed `return_ref` syntax to `returns(as_ref)` and `returns(cloned)`

* Implement

* renamed module for return_mode

* Rename macro, fix docs, add tests, validate return modes

* Cargo fmt

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2025-05-09 07:28:54 +00:00
Lukas Wirth
1bbf4c2be5
feat: Drop Debug requirements and flip implementation defaults (#756) 2025-03-15 15:14:34 +00:00
Bruce Mitchener
d2f2c6bc0b Remove dev dependency derive-new
This was only used for 4 structs in the `calc` example and the
expanded code isn't that large.
2025-02-20 13:13:12 +07:00
Micha Reiser
acbee94fbe
Use Fallback trick for tracked function Update constraint, implement Update for smallvec and compact_str 2025-02-09 15:48:52 +01:00
Ibraheem Ahmed
9436f8ff6b ensure tracked struct ingredients are mapped correctly to tracked fields 2025-02-03 20:29:49 -05:00
Ibraheem Ahmed
c90c2f2e8a make tracked structs coarse-grained by default 2025-02-03 20:29:48 -05:00
Lukas Wirth
cbd84b5b4b Bump expect-test to 1.5.0, annotate-snippets to 0.11.5 2024-12-13 13:48:59 +01:00
Niko Matsakis
634366f5fa squelch final warnings 2024-07-19 09:50:00 -04:00
Niko Matsakis
8c948173b0 extend calc with annotated snippets 2024-07-19 08:46:14 -04:00
Niko Matsakis
3304acc5dd wip: accum, privacy for inputs 2024-07-19 07:08:24 -04:00
Niko Matsakis
b267f5c8b1 fixup calc example 2024-07-17 09:25:04 -04:00
Niko Matsakis
fdc363b65f wip 2024-07-15 07:46:23 -04:00
Matthijs Brobbel
5ba40cf36c
Fix CI and examples 2024-06-18 09:52:37 +02:00
Renamed from examples/calc/src/ir.rs (Browse further)