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

Fix incorrect attributes handling #2493

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix failing test
cptartur committed Nov 13, 2024
commit 8961bb7e191a8a9df0a1f99433b18baa01c118fa
Original file line number Diff line number Diff line change
@@ -102,9 +102,10 @@ fn fails_with_unknown_argument() {
&result,
&[Diagnostic::error(formatdoc!(
"
Both options failed
First variant: #[fork] unsupported named argument \"unknow_arg\" provided
Second variant: #[fork] can be used with unnamed attributes only
All options failed
- variant: #[fork] unsupported named argument \"unknow_arg\" provided
- variant: #[fork] expected 1 arguments, got: 0
- variant: #[fork] can be used with unnamed attributes only
Resolve at least one of them
"
))],