Mazdak Farrokhzad
|
e0403bcde3
|
lowering: bug! -> panic!
|
2020-03-21 22:18:57 +01:00 |
|
Jonas Schievink
|
78274bc17c
|
Don't create AST fragments when lowering to HIR
|
2020-03-17 22:17:31 +01:00 |
|
Jonas Schievink
|
6450101b69
|
Split up large FnDecl expression
|
2020-03-17 22:17:31 +01:00 |
|
Jonas Schievink
|
37b5bfce76
|
Improve comments in HIR lowering code
|
2020-03-17 22:17:31 +01:00 |
|
Jonas Schievink
|
b7fba973cb
|
Format
|
2020-03-17 22:17:31 +01:00 |
|
Jonas Schievink
|
dfcfa170f5
|
Make async/await lowering use resume arguments
|
2020-03-17 22:17:31 +01:00 |
|
Vadim Petrochenkov
|
e809e0214e
|
ast: Mac/Macro -> MacCall
|
2020-03-12 22:26:52 +03:00 |
|
Yuki Okushi
|
680a0e1dd5
|
Rollup merge of #69580 - matthiaskrgr:map_clone, r=Centril
use .copied() instead of .map(|x| *x) on iterators
|
2020-03-01 19:28:12 +09:00 |
|
Vadim Petrochenkov
|
e08c279eac
|
Rename syntax to rustc_ast in source code
|
2020-02-29 21:59:09 +03:00 |
|
Matthias Krüger
|
c9a02c2e42
|
use .copied() instead of .map(|x| *x) on iterators
|
2020-02-29 15:23:13 +01:00 |
|
Matthias Krüger
|
7be94a8a95
|
don't use .into() to convert types into identical types.
example:
let s: String = format!("hello").into();
|
2020-02-27 23:32:46 +01:00 |
|
Yuki Okushi
|
eb12ed889d
|
Rename FunctionRetTy to FnRetTy
|
2020-02-17 11:24:29 +09:00 |
|
Mazdak Farrokhzad
|
c30f068dc8
|
IsAsync -> enum Async { Yes { span: Span, .. }, No }
use new span for better diagnostics.
|
2020-02-13 10:39:24 +01:00 |
|
Jonas Schievink
|
cc66d29e43
|
Update error message with too many parameters
|
2020-02-04 13:35:38 +01:00 |
|
Jonas Schievink
|
32005fe195
|
Allow 0 or 1 explicit generator parameters
|
2020-02-02 13:20:57 +01:00 |
|
Mazdak Farrokhzad
|
32a81f7742
|
lowering: cleanup some hofs
|
2020-01-21 17:04:43 +01:00 |
|
Mazdak Farrokhzad
|
de6046fa0f
|
remove rustc_error_codes deps except in rustc_driver
|
2020-01-18 21:53:53 +01:00 |
|
Matthias Krüger
|
7fbd30b1ae
|
don't clone types that are copy
found via clippy
|
2020-01-16 23:48:49 +01:00 |
|
Yuki Okushi
|
54f860158b
|
Fix ICE #68058
|
2020-01-10 06:52:22 +09:00 |
|
Mazdak Farrokhzad
|
2c3e5d3de0
|
- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}
- remove syntax::{help!, span_help!, span_note!}
- remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!}
- lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints
- inline syntax::{struct_span_warn!, diagnostic_used!}
- stringify_error_code! -> error_code! & use it more.
- find_plugin_registrar: de-fatalize an error
- de-fatalize metadata errors
- move type_error_struct! to rustc_typeck
- struct_span_err! -> rustc_errors
|
2020-01-08 04:25:33 +01:00 |
|
Mazdak Farrokhzad
|
ebfd8673a7
|
Remove rustc_hir reexports in rustc::hir.
|
2020-01-05 12:49:22 +01:00 |
|
Mazdak Farrokhzad
|
62ac10ffde
|
simplify reexports in rustc::hir
|
2020-01-05 12:47:11 +01:00 |
|
Wesley Wiser
|
717702dffd
|
Revert "core: add IntoFuture trait and support for await"
This reverts commit f35517ee86.
|
2019-12-31 19:18:08 -05:00 |
|
Mazdak Farrokhzad
|
70eca998d7
|
nix lower_label identity function.
|
2019-12-31 17:57:17 +01:00 |
|
Mazdak Farrokhzad
|
52179c56be
|
librustc_ast_lowering: fix misc fallout.
|
2019-12-31 17:56:25 +01:00 |
|
Mazdak Farrokhzad
|
ce8dbf05f9
|
librustc_ast_lowering: move the files.
|
2019-12-31 17:27:34 +01:00 |
|