Git Product home page Git Product logo

Comments (7)

jonas-schievink avatar jonas-schievink commented on May 27, 2024 2
  • Rust-Analyzer doesn't see "macro-private" impls (const _: () = { impl Foo {} };

This should also work now

from pin-project.

taiki-e avatar taiki-e commented on May 27, 2024

As said in #320, the rust-analyzer team seems to be starting to work on support for attribute proc-macros (rust-lang/rust-analyzer#8486), so I would prefer to wait for it instead of adding the API on the pin-project side for now.

from pin-project.

taiki-e avatar taiki-e commented on May 27, 2024

rust-analyzer added experimental support for attribute macros: rust-lang/rust-analyzer#9128

from pin-project.

Aaron1011 avatar Aaron1011 commented on May 27, 2024

Issue rust-lang/rust-analyzer#6029 has been closed - is there anything left to do here?

from pin-project.

nightkr avatar nightkr commented on May 27, 2024

Doesn't seem to be working for me.. on https://gist.github.com/teozkr/0971d3f7d7ce0369861f167287bc5de0, Rust-Analyzer has no idea about either WrapperProj or Wrapper::project existing. This is on rust-lang/rust-analyzer@009e6ce (the current master).

I haven't had the time yet to investigate which piece is still missing.

from pin-project.

nightkr avatar nightkr commented on May 27, 2024

Curiously, it seems to work fine in VSCode, while Emacs completely ignores the proc macro and everything it generates. So maybe this is actually just a problem with how lsp-mode configures rust-analyzer now?

from pin-project.

nightkr avatar nightkr commented on May 27, 2024

Yeah, apparently I had screwed up enabling proc attr macro support in my RA. After fixing that pin-project worked just fine! So it looks like this issue can finally be closed, then.

from pin-project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.