about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-21 16:43:07 +0100
committerGitHub <noreply@github.com>2023-12-21 16:43:07 +0100
commit2b48e7dbcb5c298c1554a423f619e75923b04d31 (patch)
tree41538914857c2b9329cc6424124fc5ece620fb8e /compiler/rustc_codegen_llvm/src/errors.rs
parentc644d002853fdaeafb4bce6b2ba0ea3d6bc1bbe1 (diff)
parent4897d5eccf642d701263d8d3ae63d9276810a494 (diff)
downloadrust-2b48e7dbcb5c298c1554a423f619e75923b04d31.tar.gz
rust-2b48e7dbcb5c298c1554a423f619e75923b04d31.zip
Rollup merge of #119154 - surechen:fix_119067, r=fmease
Simple modification of `non_lifetime_binders`'s diagnostic information to adapt to type binders

fixes #119067

Replace diagnostic information "lifetime bounds cannot be used in this context" to "bounds cannot be used in this context".

```rust
#![allow(incomplete_features)]
#![feature(non_lifetime_binders)]

trait Trait {}

trait Trait2
    where for <T: Trait> ():{}
//~^ ERROR bounds cannot be used in this context
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions