David Tolnay
4652032c14
Add Punct PartialEq smoke test
2020-11-01 09:42:42 -08:00
David Tolnay
b01702578d
Add PartialEq<char> for proc_macro::Punct
2020-11-01 09:38:53 -08:00
est31
e4d109613e
Change as_str → to_string in proc_macro::Ident::span() docs
...
There is no `as_str` function on Ident any more.
Also change it to an intra doc link while we're at it.
2020-10-29 03:46:14 +01:00
Florian Warzecha
05f4a9a42a
switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable
2020-10-21 20:54:20 +02:00
Mark Rousskov
d8c035abbf
Bump to 1.48 bootstrap compiler
2020-10-07 19:51:36 -04:00
Dylan MacKenzie
1ff143191c
Add a feature gate for basic function pointer use in const fn
2020-09-27 10:46:41 -07:00
Dylan MacKenzie
110e59e70e
Update library functions with stability attributes
...
This may not be strictly minimal, but all unstable functions also need a
`rustc_const_unstable` attribute.
2020-09-22 10:05:58 -07:00
Aaron Hill
53cce257ae
Respect -Z proc-macro-backtrace
flag for panics inside libproc_macro
...
Fixes #76270
Previously, any panic occuring during a call to a libproc_macro method
(e.g. calling `Ident::new` with an invalid identifier) would always
cause an ICE message to be printed.
2020-09-03 12:13:26 -04:00
Aaron Hill
d9208665b5
Add -Z proc-macro-backtrace
to allow showing proc-macro panics
...
Fixes #75050
Previously, we would unconditionally suppress the panic hook during
proc-macro execution. This commit adds a new flag
-Z proc-macro-backtrace, which allows running the panic hook for
easier debugging.
2020-08-30 22:17:24 -04:00
LeSeulArtichaut
c3e3b7f119
Use intra-doc link in proc_macro
2020-08-22 22:29:43 +02:00
Aaron Hill
6deda6a6a0
Stabilize Ident::new_raw
...
Tracking issue: #54723
This is a continuation of PR #59002
2020-08-03 17:23:31 -04:00
Lzu Tao
c25f25f7f1
Stabilize as_deref and as_deref on Result
2020-07-31 02:42:24 +00:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00