about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-05-27 13:38:31 +0200
committerGitHub <noreply@github.com>2023-05-27 13:38:31 +0200
commitb2abb2b0567155042e72ad0b32b01b64aba40ab8 (patch)
treeaae64ba8a7d35ce74d4b6e914d019ec64897ed28 /compiler/rustc_errors/src/snippet.rs
parentddb5424569b1d598adf9010cece8d49968c357e6 (diff)
parente1b8fad66430abd03e611bb18425e085945c7c40 (diff)
downloadrust-b2abb2b0567155042e72ad0b32b01b64aba40ab8.tar.gz
rust-b2abb2b0567155042e72ad0b32b01b64aba40ab8.zip
Rollup merge of #111966 - saethlin:inline-slice-tryfrom, r=thomcc
Add #[inline] to array TryFrom impls

I was looking into https://github.com/rust-lang/rust/issues/111959 and I realized we don't have these. They seem like an uncontroversial addition.

IMO this PR does not fix that issue. I think the bad codegen is being caused by some underlying deeper problem but this change might cause the MIR inliner to paper over it in this specific case.

r? `@thomcc`
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions