about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/build_system/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-17 16:22:32 +0200
committerGitHub <noreply@github.com>2024-07-17 16:22:32 +0200
commit1e1e64f10fe9cd0e8bc24c96f8231700f278221d (patch)
tree1be425448af069bb500c5889779d9212673b0a4d /compiler/rustc_codegen_gcc/build_system/src
parent9db57bf0c954a4ea571e58c8905bf50ad6c2591e (diff)
parent40e07a3ab13913eaed0e9fa336669f590d07d89a (diff)
downloadrust-1e1e64f10fe9cd0e8bc24c96f8231700f278221d.tar.gz
rust-1e1e64f10fe9cd0e8bc24c96f8231700f278221d.zip
Rollup merge of #127844 - chenyukang:yukang-fix-type-bound-127555, r=jieyouxu
Remove invalid further restricting suggestion for type bound

This PR partially addresses #127555, it will remove the obvious error suggestion:

```console
   |                      ^^^^ required by this bound in `<Baz as Foo>::bar`
help: consider further restricting this bound
   |
12 |         F: FnMut() + Send + std::marker::Send,
   |                           +++++++++++++++++++
```

I may create another PR to get a better diagnostic for `impl has stricter requirements than trait` scenario.
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_system/src')
0 files changed, 0 insertions, 0 deletions