Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
bors
a04d56b36d
Auto merge of #117817 - fmease:deny-more-tilde-const, r=fee1-dead
...
Deny more `~const` trait bounds
thereby fixing a family of ICEs (delayed bugs) for `feature(const_trait_impl, effects)` code.
As discussed
r? `@fee1-dead`
2023-11-12 04:40:44 +00:00
León Orell Valerian Liehr
8ce5d784a6
Deny more ~const
trait bounds
2023-11-12 00:00:12 +01:00
Matthias Krüger
8a34fea835
Rollup merge of #117516 - matthiaskrgr:test_effects_113375_oob, r=fee1-dead
...
add test for #113375
Fixes #113375
r? `@fee1-dead`
2023-11-06 20:31:55 +01:00
Matthias Krüger
666cad9a5f
add test for #113375
...
Fixes #113375
2023-11-02 16:16:56 +01:00
Matthias Krüger
384f7382ba
add test for #113381
...
Fixes #113381
r? fee1-dead
2023-11-02 15:59:54 +01:00
Deadbeef
47efc90366
Deny providing explicit effect params
2023-10-26 08:24:25 +00:00
Deadbeef
f0f89d6d43
Duplicate ~const
bounds with a non-const one in effects desugaring
2023-10-15 08:59:38 +00:00
Raekye
884af362f2
Validate ~const
trait bounds on associated fns.
...
Previously, any associated function could have `~const` trait bounds on
generic parameters, which could lead to ICEs when these bounds were used
on associated functions of non-`#[const_trait] trait` or
non-`impl const` blocks.
Includes changes as per @fee1-dead's comments in #116210 .
2023-09-30 19:00:45 -04:00
Deadbeef
04eec37dc2
Enable effects for libcore
2023-09-20 03:02:14 +00:00
Michael Goulet
5c907a7859
Fallback effects even if types also fall back
2023-09-14 21:08:42 +00:00
Deadbeef
84a490712a
Implement fallback for effect param
2023-09-10 07:48:47 +00:00
Deadbeef
6c1e3bb6e9
bless tests
2023-08-06 13:34:53 +00:00
Deadbeef
30b21b758a
add test
2023-07-04 11:47:46 +00:00