rtic/rtic-macros/ui
dependabot[bot] f74f38a4f7
Update syn requirement from 1.0.107 to 2.0.48 (#881)
* Update syn requirement from 1.0.107 to 2.0.48

Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.107...2.0.48)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* rtic-macros: attr.path -> attr.path()

* rtic-macros: tokens -> parse_args()

Fix parsing of InitArgs, IdleArgs, *Args

Including HardwareTaskArgs, SoftwareTaskArgs

* rtic-macros: Rename content to input

As syn2 removes the surrounding parenthesis as
part of parse_args() the distinction between
input and content is redundant

* rtic-macros: Handle removal of Expr::Type

Manually parse local_resources

With type ascription de-RFCd syn2 dropped
Expr::Type

* rtic-macros: Syn upgrade CHANGELOG

* rtic-macro: Retain most old errors as they were

Spans are not equal, but good enough

* rtic-macros: syn2 changed some error messages

Additionally some spans were not retained
with the manual parsing workaround

* rtic-macros: clippy fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-01-16 07:03:49 +00:00
..
extern-interrupt-used.rs
extern-interrupt-used.stderr
idle-double-local.rs
idle-double-local.stderr
idle-double-shared.rs
idle-double-shared.stderr
idle-input.rs
idle-input.stderr
idle-no-context.rs
idle-no-context.stderr
idle-not-divergent.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
idle-not-divergent.stderr Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
idle-output.rs
idle-output.stderr
idle-pub.rs
idle-pub.stderr
idle-unsafe.rs
idle-unsafe.stderr
init-divergent.rs
init-divergent.stderr
init-double-local.rs
init-double-local.stderr
init-double-shared.rs
init-double-shared.stderr
init-input.rs
init-input.stderr
init-no-context.rs
init-no-context.stderr
init-output.rs
init-output.stderr Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
init-pub.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
init-pub.stderr Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
init-unsafe.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
init-unsafe.stderr
interrupt-double.rs
interrupt-double.stderr
local-collision-2.rs
local-collision-2.stderr
local-collision.rs
local-collision.stderr
local-malformed-1.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
local-malformed-1.stderr Update syn requirement from 1.0.107 to 2.0.48 (#881) 2024-01-16 07:03:49 +00:00
local-malformed-2.rs
local-malformed-2.stderr Update syn requirement from 1.0.107 to 2.0.48 (#881) 2024-01-16 07:03:49 +00:00
local-malformed-3.rs
local-malformed-3.stderr Update syn requirement from 1.0.107 to 2.0.48 (#881) 2024-01-16 07:03:49 +00:00
local-malformed-4.rs
local-malformed-4.stderr
local-not-declared.rs
local-not-declared.stderr
local-shared-attribute.rs
local-shared-attribute.stderr Update syn requirement from 1.0.107 to 2.0.48 (#881) 2024-01-16 07:03:49 +00:00
local-shared.rs
local-shared.stderr
shared-lock-free.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
shared-lock-free.stderr
shared-not-declared.rs
shared-not-declared.stderr
task-divergent.rs Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
task-divergent.stderr
task-double-local.rs
task-double-local.stderr
task-double-priority.rs
task-double-priority.stderr
task-double-shared.rs
task-double-shared.stderr
task-idle.rs
task-idle.stderr
task-init.rs
task-init.stderr
task-interrupt.rs
task-interrupt.stderr
task-no-context.rs
task-no-context.stderr
task-no-prio.rs
task-no-prio.stderr
task-priority-too-high.rs
task-priority-too-high.stderr
task-priority-too-low.rs
task-priority-too-low.stderr
task-pub.rs
task-pub.stderr
task-unsafe.rs
task-unsafe.stderr Move rtic macros to repo root, tune xtask 2023-03-01 00:35:13 +01:00
task-zero-prio.rs
task-zero-prio.stderr