Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve some proc-macro attribute error messages #971

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Dec 14, 2024

For #[derive(GodotClass)], catch errors like generic args already at macro stage.

@Bromeon Bromeon added quality-of-life No new functionality, but improves ergonomics/internals c: register Register classes, functions and other symbols to GDScript labels Dec 14, 2024
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-971

For `#[derive(GodotClass)]`, catch errors like generic args already at macro stage.
@Bromeon Bromeon force-pushed the qol/macro-validation branch from 1f8d9ef to 579bbb8 Compare December 14, 2024 18:24
@Bromeon Bromeon force-pushed the qol/macro-validation branch from b1de92d to 99d6f32 Compare December 14, 2024 19:12
@Bromeon
Copy link
Member Author

Bromeon commented Dec 14, 2024

Merging since this PR works around an upstream issue, which currently breaks our CI.

@Bromeon Bromeon added this pull request to the merge queue Dec 14, 2024
Merged via the queue into master with commit 3109825 Dec 14, 2024
15 checks passed
@Bromeon Bromeon deleted the qol/macro-validation branch December 14, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: register Register classes, functions and other symbols to GDScript quality-of-life No new functionality, but improves ergonomics/internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants