Vadim Petrochenkov

Results 259 comments of Vadim Petrochenkov

Issue: literal tokens emitted by meta-variable expression need to have correct hygiene (`SyntaxContext`). For that the span assigned to them needs to be processed by `Marker` (see `fn transcribe` for...

This is a tricky area and I need to look at this, but I won't be able to do it very soon, maybe in a week or two.

I need to refresh hygiene details in my memory before reviewing this PR and https://github.com/rust-lang/rust/pull/100387, it will require at least one full working day. I've been very busy the last...

FWIW, I really dislike what this PR does. https://github.com/rust-lang/rust/issues/99035 implies that `$$` has anything to do with changing hygiene, but it does not! Imagine that you have the same situation...

(I'm interested in someone pursuing https://github.com/rust-lang/rust/pull/99447#issuecomment-1204120473 tho.)

This is no my area of expertise, and also a language change. r? @nikomatsakis @eddyb (because coercions)

I made one more step and separated effective visibilities ("access levels") coming from rustc from similar data collected by rustdoc for extern `DefId`s. The original table is no longer modified...

Ping @CraftSpider @GuillaumeGomez This PR is a pre-requisite for other work, including https://github.com/rust-lang/rust/pull/94857.

With existing cbindgen I solve this problem by slicing the crate into parts using `#[cfg]`s, e.g. my crate root looks roughly like this ```rust #[cfg(cbindgen_low_level_data_structures)] mod low_level_data_structures; #[cfg(cbindgen_low_level_data_processor)] mod low_level_data_processor;...