rust/compiler/rustc_mir_build/src
Yuki Okushi 5c1e01196d
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).
2020-10-06 16:26:11 +09:00
..
build Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr 2020-10-05 09:26:32 +00:00
thir Remove extra indirection in LitKind::ByteStr 2020-10-04 15:52:15 -06:00
lib.rs use array_windows instead of windows in the compiler 2020-09-20 08:11:05 +02:00
lints.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00