about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-08-11 16:19:04 +0200
committerGitHub <noreply@github.com>2025-08-11 16:19:04 +0200
commit180e7ce7003028e9960427c0256623e89c9f1ffd (patch)
tree54ec4fff5e7fe0fba2393a8d2113710b2996405d /compiler/rustc_const_eval/src
parent577166503aee7290e09374da21f4045c455acfd5 (diff)
parent1e271d6ed13756db08160daaa327b99b7fe6099e (diff)
downloadrust-180e7ce7003028e9960427c0256623e89c9f1ffd.tar.gz
rust-180e7ce7003028e9960427c0256623e89c9f1ffd.zip
Rollup merge of #144966 - scrabsha:push-rozroqqmurvu, r=jdonszelmann
 Improve suggestion for "missing function argument" on multiline call

`rustc` has a very neat suggestion when the argument count does not match, with a nice placeholder that shows where an argument may be missing. Unfortunately the suggestion is always single-line, even when the function call spans across multiple lines. With this PR, `rustc` tries to guess if the function call is multiline or not, and emits a multiline suggestion when required.

r? `@jdonszelmann`
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions