Dylan DPC
7939a4d728
Rollup merge of #71370 - PankajChaudhary5:ErrorCode-E0696, r=GuillaumeGomez
...
Added detailed error code explanation for issue E0696 in Rust compiler.
Added proper error explanation for issue E0696 in the Rust compiler.
Error Code E0696
Sub Part of Issue #61137
r? @GuillaumeGomez
2020-04-22 16:41:12 +02:00
Guillaume Gomez
3390ff97b2
Add error code to inner doc comment attribute error
2020-04-22 11:08:50 +02:00
pankajchaudhary5
e5b68bc719
Added proper explanation error code E0696
2020-04-21 20:09:07 +05:30
Sebastian Malton
6120acec87
Check that main/start is not async
...
* Add new error code E0752
* Add span to hir::IsAsync::Yes
* Emit an error if main or the start function is marked as async
* Add two regression tests
Fix formatting errors and bless test outputs
* move tests to ui/async-await
fix test error text
remove span from IsAsync
2020-04-20 09:37:11 -04:00
Dylan DPC
abd72f7fc2
Rollup merge of #70578 - PankajChaudhary5:master, r=GuillaumeGomez
...
Add long error explanation for E0657
Added proper error explanation for issue E0657 in the Rust compiler.
Part of #61137
r? @GuillaumeGomez
2020-04-17 03:05:11 +02:00
Dylan DPC
c68c71e24e
Rollup merge of #70611 - pawanbisht62:doc/61137-add-long-error-code-e0708, r=GuillaumeGomez
...
Add long error explanation for E0708 #61137
Add long explanation for the E0708 error code
Part of #61137
r? @GuillaumeGomez
2020-04-16 23:34:41 +02:00
PankajChaudhary5
908436f3bb
Add proper explanation of error code E0657
2020-04-13 13:36:22 +05:30
bishtpawan
26fdde994d
Add long error explanation for E0708 #61137
...
Refactor code as per the suggestions
Refacotor code
provide edition support
2020-04-12 17:22:59 +05:30
Mazdak Farrokhzad
45589b52fe
track_caller: support on FFI imports
2020-04-09 04:55:05 +02:00
Julien Philippon
8f7eb6229c
Add long error code for error E0226
2020-03-30 02:51:25 +02:00
Dylan DPC
1f13089bef
Rollup merge of #70418 - PankajChaudhary5:master, r=Dylan-DPC
...
Add long error explanation for E0703
Add long explanation for the E0703 error code
Part of #61137
r? @GuillaumeGomez
2020-03-28 15:21:57 +01:00
Amanieu d'Antras
d162d096dd
Rename asm! to llvm_asm!
...
asm! is left as a wrapper around llvm_asm! to maintain compatibility.
2020-03-26 15:49:22 +00:00
Niko Matsakis
65071708f8
make a custom error for overlap with negative impls
2020-03-26 06:52:26 -04:00
Niko Matsakis
e8a05e201e
permit negative impls for non-auto traits
2020-03-26 06:27:45 -04:00
PankajChaudhary5
95870e25c6
Add long error explanation for E0703
2020-03-26 11:32:56 +05:30
bishtpawan
03bb3bde90
Add long error explanation for E0710 #61137
2020-03-24 13:03:01 +05:30
Nixon Enraght-Moony
97aa2704ec
Add explanation message for E0224
2020-03-21 15:43:12 +00:00
Dylan DPC
8f2482b801
Rollup merge of #69867 - ayushmishra2005:doc/61137-add-long-error-code-e0628, r=Dylan-DPC
...
Add long error explanation for E0628
Add long explanation for the E0628 error code
Part of #61137
r? @GuillaumeGomez
2020-03-16 13:16:42 +01:00
Dylan DPC
9296d770bd
Rollup merge of #69998 - ayushmishra2005:doc/61137-add-long-error-code-e0634, r=Dylan-DPC,GuillaumeGomez
...
Add long error explanation for E0634
Add long explanation for the E0634 error code
Part of #61137
r? @GuillaumeGomez
2020-03-16 01:30:38 +01:00
Dylan DPC
838884e022
Rollup merge of #69993 - ayushmishra2005:doc/61137-add-long-error-code-e0693, r=Dylan-DPC
...
Add long error explanation for E0693
Add long explanation for the E0693 error code
Part of #61137
r? @GuillaumeGomez
2020-03-15 02:44:23 +01:00
Ayush Kumar Mishra
4bd6ebcc31
Add long error explanation for E0634 #61137
2020-03-14 16:01:03 +05:30
Ayush Kumar Mishra
1c88052fa0
Add long error explanation for E0693 #61137
2020-03-14 08:41:05 +05:30
Ayush Kumar Mishra
6f2c01bcfb
Add long error explanation for E0739
2020-03-10 08:33:14 +05:30
Ayush Kumar Mishra
7b75c346d5
Add long error explanation for E0628 #61137
2020-03-10 02:04:48 +05:30
Yuki Okushi
9f3a192327
Rollup merge of #69620 - thekuom:doc/61137-add-long-error-code-e0719, r=davidtwco
...
doc(librustc_error_codes): add long error explanation for E0719
Reference issue #61137
- Updated error_codes.rs
- Added E0719.md in error_codes
- Updated necessary test .stderr files
2020-03-03 17:50:10 +09:00
Matthew Kuo
275dac7bfb
doc(librustc_error_codes): add long error explanation for E0719
...
Progresses #61137
2020-03-01 15:17:08 -06:00
Guillaume Gomez
bae5f3976b
Add E0747 error code
2020-02-28 16:01:04 +01:00
varkor
039045c49b
Move generic arg / param validation to create_substs_for_generic_args
2020-02-22 00:28:18 +00:00
Josh White
4a1c6ce235
Added long error description & modifed error_codes.rs
2020-02-06 16:18:24 -05:00
LeSeulArtichaut
976a146203
Add E0727 long explanation
2020-01-28 21:17:12 +01:00
Esteban Küber
4c13d2555c
Add E0746 explanation to the index
2020-01-16 09:37:24 -08:00
Esteban Küber
6fd564112f
Specific error for unsized dyn Trait return type
...
Suggest `impl Trait` when possible, and `Box<dyn Trait>` otherwise.
2020-01-16 09:37:24 -08:00
Donough Liu
751fe7c43d
Add error code explanation for E0477
2019-12-30 14:41:46 +08:00
Esteban Küber
66ea471f9d
Handle more specific case E0222
2019-12-24 22:10:15 -08:00
Donough Liu
1485c16899
Add long error code explanation message for E0627
2019-12-23 21:05:02 +08:00
Mazdak Farrokhzad
2bd35c065c
Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obk
...
Add feature gate for mut refs in const fn
r? @oli-obk
2019-12-06 23:26:54 +01:00
Reese Williams
7693bb9e1d
Add long error for E0631 and update ui tests.
2019-12-02 22:01:27 -05:00
Christian Poveda
e01ad6a01a
Remove E0017 from error codes index
2019-12-02 09:46:27 -05:00
Nixon
f8fb24f18f
Add explanation message for E0203
2019-11-29 22:42:38 +00:00
Matthew Jasper
a8efd31f2b
Add raw address of expressions to the AST and HIR
2019-11-24 18:06:13 +00:00
Mazdak Farrokhzad
0a0d07a1fc
Rollup merge of #66526 - estebank:async-fn-trait-information, r=Centril
...
Add more context to `async fn` trait error
Follow up to #65937 . Fix #65899 .
2019-11-20 12:58:30 +01:00
Mazdak Farrokhzad
b5166b1e85
Rollup merge of #66461 - clemencetbk:master, r=GuillaumeGomez
...
Add explanation message for E0641
Part of #61137
2019-11-19 13:10:19 +01:00
Esteban Küber
e565329144
Add error code documentation
2019-11-18 15:23:05 -08:00
Guillaume Gomez
c981c994d4
Move E0594 to new error code system
2019-11-18 23:38:25 +01:00
clemencetbk
4e1eeb9a45
Add explanation message for E0641
2019-11-16 12:04:17 -05:00
Mazdak Farrokhzad
8444e1628c
move DIAGNOSTICS usage to rustc_driver
2019-11-16 02:32:33 +01:00
Guillaume Gomez
57564c80e3
Add link to error code explanation RFC
2019-11-15 13:24:47 +01:00
Guillaume Gomez
bfa3d599eb
move E0744 to new error code
2019-11-14 13:05:56 +01:00
Guillaume Gomez
411f94c3b9
move E0623 into the new error code format
2019-11-14 13:05:56 +01:00
Guillaume Gomez
cd274632f8
Put each error code long explanation into their own markdown file
2019-11-14 13:05:56 +01:00