diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-23 12:32:26 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-23 12:32:26 +0100 |
commit | 4cc2ff6e390b6d8015ed1d266425459268f6e0b0 (patch) | |
tree | 35aad7e9bca6db3aede78f8d12756c50aad25c76 /crates/ra_syntax/test_data/parser/fuzz-failures/0001.rs | |
parent | ca5e4596a0585332ad8ff03b2c02bba586496947 (diff) | |
parent | b4ef1afd300deb948ebf4bce7a3d898a1580f44f (diff) | |
parent | 194dd9eb0d44284f7e952a1e84296fcda4d90f5e (diff) |
Merge #4555 #4575
4555: VSCode: added patchelf after download for NixOS support r=matklad a=cab404
This adds Nix support, and fixes #4542
4575: Use Chalk's built-in representations for fn items and pointers r=matklad a=flodiebold
The `TypeName::FnDef` was just added; the function pointer variant has existed for a while, I just forgot about it because it's special (because fn pointers can be higher-ranked over lifetimes).
We *could* also make `FnPtr` a separate `Ty` variant instead of a `TypeCtor` variant, which would make the conversion code a bit less special-casey, but it doesn't seem worth doing right now.
Co-authored-by: Vladimir Serov <[email protected]>
Co-authored-by: Cabia Rangris <[email protected]>
Co-authored-by: Florian Diebold <[email protected]>