about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-16 20:12:18 +0200
committerGitHub <noreply@github.com>2023-05-16 20:12:18 +0200
commitd2e52ea127fea8d3c8eef3815cb52935f85605a3 (patch)
treeb3acd36492dba773e18651e4813f99732da61361 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent20f6aa1365d556edf4804fc502f1f29c1ef9fdcb (diff)
parentb2b2be1cad5a3009f53f490ae09abf33958e40df (diff)
downloadrust-d2e52ea127fea8d3c8eef3815cb52935f85605a3.tar.gz
rust-d2e52ea127fea8d3c8eef3815cb52935f85605a3.zip
Rollup merge of #111610 - bvanjoi:fix-99597, r=compiler-errors
fix(diagnostic): wrap parens for ref impl trait param

Fixes https://github.com/rust-lang/rust/issues/99597

When parameters are an `impl_trait` which it needed to add trait, and it is a reference, add parentheses to the type of the parameter in the suggestion
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions