]> git.lizzy.rs Git - rust.git/commit
Add 'Span.parent()' and 'Span.source()' to proc_macro API.
authorSergio Benitez <sb@sergio.bz>
Mon, 1 Jan 2018 02:30:13 +0000 (18:30 -0800)
committerSergio Benitez <sb@sergio.bz>
Wed, 3 Jan 2018 08:20:33 +0000 (00:20 -0800)
commitab365be1406919d4da42442b70c153296980ba52
treef0ee98bde104450223b918a066711ab1e460c57a
parent0f4ebf9f0a3196420e25cf1558b49ea3f38643c4
Add 'Span.parent()' and 'Span.source()' to proc_macro API.
src/libproc_macro/lib.rs
src/test/ui-fulldeps/proc-macro/auxiliary/parent-source-spans.rs [new file with mode: 0644]
src/test/ui-fulldeps/proc-macro/parent-source-spans.rs [new file with mode: 0644]
src/test/ui-fulldeps/proc-macro/parent-source-spans.stderr [new file with mode: 0644]