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
Oli Scherer
beaf46f7e5
Work around the fact that check_mod_type_wf
may spuriously return ErrorGuaranteed
, even if that error is only emitted by check_modwitem_types
2023-10-25 12:04:54 +00:00
Oli Scherer
fd9ef69adf
Avoid a track_errors
by bubbling up most errors from check_well_formed
2023-10-20 08:46:27 +00:00
Esteban Küber
890e92feed
Unify suggestion wording
2023-10-17 17:33:55 +00:00
Matthias Krüger
c1c5ab717e
Rollup merge of #116428 - Alexendoo:note-duplicate-diagnostics, r=compiler-errors,estebank
...
Add a note to duplicate diagnostics
Helps explain why there may be a difference between manual testing and the test suite output and highlights them as something to potentially look into
For existing duplicate diagnostics I just blessed them other than a few files that had other `NOTE` annotations in
2023-10-05 19:24:35 +02:00
Alex Macleod
5453a9f34d
Add a note to duplicate diagnostics
2023-10-05 01:04:41 +00:00
Esteban Küber
041e54bd92
Tweak wording of E0562
...
Fix #80476 .
2023-10-04 19:51:43 +00:00
Ralf Jung
9ac8b363e3
don't point at const usage site for resolution-time errors
...
also share the code that emits the actual error
2023-09-14 22:34:05 +02:00
Ralf Jung
89ac57db4d
move required_consts check to general post-mono-check function
2023-09-14 22:30:42 +02:00
Michael Goulet
30e6cea0ae
Point out if a local trait has no implementations
2023-09-10 21:20:36 +00:00
Michael Goulet
b62eeb2aac
Fall through when resolving elided assoc const lifetimes
2023-09-01 07:23:39 +00:00
Michael Goulet
13e8b13e15
Handle Self in paths too
2023-08-25 19:05:38 +00:00
Michael Goulet
fad7d220fd
Warn on elided lifetimes in associated constants
2023-08-20 00:21:47 +00:00
nxya
a54a66830d
moved note as unspanned note, moved note to the bottom of the msg
2023-07-18 21:53:34 -04:00
nxya
e6e8892051
added links as a note
2023-07-18 09:27:35 -04:00
nxya
f92a9f6808
add links to query documentation for E0391
2023-07-18 09:27:26 -04:00
nxya
bef91ee687
added links as a note
2023-07-18 09:20:25 -04:00
nxya
c429a72db9
add links to query documentation for E0391
2023-07-18 09:20:25 -04:00
Camille GILLOT
87233da5c2
Check entry type as part of item type checking.
2023-07-15 22:02:16 +00:00
Yuki Okushi
421105b453
Add a regression test for #110933
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-06-25 23:03:22 +09:00
Michael Goulet
2b40268f8b
properly check associated consts for infer placeholders
2023-06-11 00:27:03 +00:00
Michael Goulet
cde5bcafe8
Don't create projection ty for const projection
2023-04-23 18:09:30 +00:00
Camille GILLOT
8a515aab76
Only enable ConstProp at mir-opt-level >= 2.
2023-04-15 07:46:46 +00:00
Ezra Shaw
2bafc0fcee
bless the single test
2023-04-14 00:06:21 +12:00
lcnr
c63861b9d5
evaluate: improve and fix recursion depth handling
2023-03-21 09:57:22 +01:00
Michael Goulet
b14eb0c497
pluralize stuff
2023-02-22 21:52:26 +00:00
Michael Goulet
3f80017f03
Better label for illegal impl trait types
2023-02-14 23:12:27 +00:00
Esteban Küber
62ba3e70a1
Modify primary span label for E0308
...
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00