David Tolnay

Results 700 comments of David Tolnay

This is a compiler limitation with how `Output` associated types of `Fn`-family traits are specified. One way to work around this it is to avoid `Fn` by using an equivalent...

> = note: downstream crates may implement trait \`StableFn\` for type \`Run\` That's so crazy. :(

This is a compiler bug. :cry: https://github.com/rust-lang/rust/issues/60658

Please provide a minimal compilable repro. Compiling the code you gave produces a different error message from the one you are asking about, and it looks like much of the...

I don't know whether this process is reproducible since I have only run it once, but it might be. I would be interested to find out. The note about reproducibility...

Exciting news — I ran a second bootstrap today, and rustc 1.41.0 is an exact match to my previous bootstrap. It is the first version for which the hashes match...

Current: ```console $ cargo expand --version cargo-expand 1.0.25 + prettyplease 0.1.12 ``` Desired: ```console $ cargo expand --version cargo-expand 1.0.25 $ cargo expand --version --verbose cargo-expand 1.0.25 + prettyplease 0.1.12...

I would accept a PR to implement this.

I posted a relevant request for implementation for 0 levels: https://github.com/dtolnay/request-for-implementation/issues/6.

Implementation notes: - Add a flag called `--trace`. - If `--trace` is passed, execute `cargo read-manifest` and parse the output to find src_path to all targets of the current crate....