about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-06 16:26:11 +0900
committerGitHub <noreply@github.com>2020-10-06 16:26:11 +0900
commit5c1e01196dcfaea2ce8df4271ff398d20ac123e9 (patch)
treee65ff642ee85e8c3fff185097399357f13332f4b /compiler/rustc_codegen_llvm/src
parent2970af8e288d95a39b56b6b0784f9d4e664e7644 (diff)
parent62f7712a1fd500604f76442f627ea35ce7217177 (diff)
downloadrust-5c1e01196dcfaea2ce8df4271ff398d20ac123e9.tar.gz
rust-5c1e01196dcfaea2ce8df4271ff398d20ac123e9.zip
Rollup merge of #77560 - rschoon:fix-litkind-rc-bytebuf, r=lcnr
Fix LitKind's byte buffer to use refcounted slice

While working on adding a new lint for clippy (see https://github.com/rust-lang/rust-clippy/pull/6044) for avoiding shared ownership of "mutable buffer" types (such as using `Rc<Vec<T>>` instead of `Rc<[T]>`), I noticed a type exported from rustc_ast and used by clippy gets caught by the lint. This PR fixes the exported type.

This PR includes the actual change to clippy too, but I will open a PR directly against clippy for that part (although it will currently fail to build there).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions