summary refs log tree commit diff
path: root/library/proc_macro/src
AgeCommit message (Collapse)AuthorLines
2020-09-27Add a feature gate for basic function pointer use in `const fn`Dylan MacKenzie-0/+1
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+7
This may not be strictly minimal, but all unstable functions also need a `rustc_const_unstable` attribute.
2020-09-03Respect `-Z proc-macro-backtrace` flag for panics inside libproc_macroAaron Hill-3/+2
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-08-30Add `-Z proc-macro-backtrace` to allow showing proc-macro panicsAaron Hill-8/+39
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-22Use intra-doc link in `proc_macro`LeSeulArtichaut-1/+1
2020-08-03Stabilize Ident::new_rawAaron Hill-2/+5
Tracking issue: #54723 This is a continuation of PR #59002
2020-07-31Stabilize as_deref and as_deref on ResultLzu Tao-1/+0
2020-07-27mv std libs to library/mark-0/+3346