diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-08-08 22:29:55 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-08-08 22:29:55 +0100 |
commit | 72483b1ca912dca78543f5cc2a7e9d1380ef5784 (patch) | |
tree | fc4db17b64ffe2717ba4b6f2ddf716a81aa1ef31 /gcc/omp-general.c | |
parent | 3f544652b42f9c9330e87ceb6df517d675aa5300 (diff) | |
download | gcc-72483b1ca912dca78543f5cc2a7e9d1380ef5784.zip gcc-72483b1ca912dca78543f5cc2a7e9d1380ef5784.tar.gz gcc-72483b1ca912dca78543f5cc2a7e9d1380ef5784.tar.bz2 |
Improve the error message for bad type bounds
We emit one error for all unsatisfied bounds such as:
test.rs:26:31: error: bounds not satisfied for Test ‘Bar, Baz’ is not satisfied
21 | fn type_bound_test<T: Foo + Bar + Baz>() -> i32 {
| ~ ~
......
26 | let a = type_bound_test::<Test>();
| ^
Diffstat (limited to 'gcc/omp-general.c')
0 files changed, 0 insertions, 0 deletions