about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2023-05-23 03:01:28 -0400
committerJules Bertholet <julesbertholet@quoi.xyz>2023-05-23 12:46:25 -0400
commit5cd02eaece8cf537054960d0d6db67096e78865d (patch)
treec82eee0279aa5e2c7b2fbe61e8cc6955d01fcd80 /compiler/rustc_errors/src/snippet.rs
parent8b4b20836b832e91aa605a2faf5e2a55190202c8 (diff)
downloadrust-5cd02eaece8cf537054960d0d6db67096e78865d.tar.gz
rust-5cd02eaece8cf537054960d0d6db67096e78865d.zip
Always require closure parameters to be `Sized`
The `rust-call` ABI isn't compatible with
`#![feature(unsized_fn_params)]`, so trying to use that feature with
closures leads to an ICE (#67981). This turns that ICE into a
type-check error.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions