Skip to content

Incorrect quoting in 'attempted access of field' message #2358

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

Closed
brson opened this issue May 5, 2012 · 1 comment
Closed

Incorrect quoting in 'attempted access of field' message #2358

brson opened this issue May 5, 2012 · 1 comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@brson
Copy link
Contributor

brson commented May 5, 2012

./bindgen.rs:644:12: 644:34 error: attempted access of field items on type @{count: mut uint,chains: mut [mut std::map::chained::chain<clang::CXCursor,bool>],hasher: fn@(clang::CXCursor) -> uint,eqer: fn@(clang::CXCursor, clang::CXCursor) -> bool}, but no public field or method with that name was found
./bindgen.rs:644             ctx.unnamed_decl.items() {|c, b|
                             ^~~~~~~~~~~~~~~~~~~~~~
./bindgen.rs:644:12: 644:36 error: the type of this value must be known in this context
./bindgen.rs:644             ctx.unnamed_decl.items() {|c, b|

The word "items" should be backquoted. Maybe the type should be backquoted as well.

@lkuper
Copy link
Contributor

lkuper commented Jun 23, 2012

Closed in 46809f7.

@lkuper lkuper closed this as completed Jun 23, 2012
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
tshepang added a commit to tshepang/rust that referenced this issue Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

3 participants