<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libproc_macro, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proc_macro: Add API for tracked access to environment variables</title>
<updated>2020-07-26T10:37:37+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-07-22T18:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62c9fa939d95fcc009afb7ab80483081c3d1f068'/>
<id>urn:sha1:62c9fa939d95fcc009afb7ab80483081c3d1f068</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce restricted-std feature.</title>
<updated>2020-07-15T16:57:05+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2020-06-01T01:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e9a1de0d146734e51cc7e761b288e9b9b138d4f'/>
<id>urn:sha1:6e9a1de0d146734e51cc7e761b288e9b9b138d4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test for proc_macro::LineColumn</title>
<updated>2020-05-22T00:15:13+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-22T00:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a4bf448c764696be75eafb6631e182d95064e72'/>
<id>urn:sha1:5a4bf448c764696be75eafb6631e182d95064e72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Impl Ord for proc_macro::LineColumn</title>
<updated>2020-05-22T00:05:36+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-22T00:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9fed696b5ae033195e2ec2f9ba1edf2c3dae5c5'/>
<id>urn:sha1:e9fed696b5ae033195e2ec2f9ba1edf2c3dae5c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #72233 - dtolnay:literal, r=petrochenkov</title>
<updated>2020-05-16T23:51:30+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2020-05-16T23:51:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc91043d243ec98cc9d5fb028a14f77a7d90f92b'/>
<id>urn:sha1:fc91043d243ec98cc9d5fb028a14f77a7d90f92b</id>
<content type='text'>
Fix {:#?} representation of proc_macro::Literal

Before:

```rust
TokenStream [
    Ident {
        ident: "name",
        span: #0 bytes(37..41),
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: #0 bytes(42..43),
    },
    Literal { lit: Lit { kind: Str, symbol: "SNPP", suffix: None }, span: Span { lo: BytePos(44), hi: BytePos(50), ctxt: #0 } },
    Punct {
        ch: ',',
        spacing: Alone,
        span: #0 bytes(50..51),
    },
    Ident {
        ident: "owner",
        span: #0 bytes(56..61),
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: #0 bytes(62..63),
    },
    Literal { lit: Lit { kind: Str, symbol: "Canary M Burns", suffix: None }, span: Span { lo: BytePos(64), hi: BytePos(80), ctxt: #0 } },
]
```

After:

```rust
TokenStream [
    Ident {
        ident: "name",
        span: #0 bytes(37..41),
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: #0 bytes(42..43),
    },
    Literal {
        kind: Str,
        symbol: "SNPP",
        suffix: None,
        span: #0 bytes(44..50),
    },
    Punct {
        ch: ',',
        spacing: Alone,
        span: #0 bytes(50..51),
    },
    Ident {
        ident: "owner",
        span: #0 bytes(56..61),
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: #0 bytes(62..63),
    },
    Literal {
        kind: Str,
        symbol: "Canary M Burns",
        suffix: None,
        span: #0 bytes(64..80),
    },
]
```
</content>
</entry>
<entry>
<title>Clarify use of format_args in Debug for Literal</title>
<updated>2020-05-15T16:35:46+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-15T16:35:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bea2c59ea56cb3daa7e3bacabd7c95f002f9aca0'/>
<id>urn:sha1:bea2c59ea56cb3daa7e3bacabd7c95f002f9aca0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement Default for proc_macro::TokenStream</title>
<updated>2020-05-15T16:12:41+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-15T16:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5ea92526549e40ff43b34f25fe6bee4418a3186'/>
<id>urn:sha1:d5ea92526549e40ff43b34f25fe6bee4418a3186</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix {:#?} representation of proc_macro::Literal</title>
<updated>2020-05-15T15:36:33+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-15T05:36:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=45ee3360072a4bed1a2625dc03bdae1bd5aee5c4'/>
<id>urn:sha1:45ee3360072a4bed1a2625dc03bdae1bd5aee5c4</id>
<content type='text'>
Before:

    TokenStream [
        Ident {
            ident: "name",
            span: #0 bytes(37..41),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(42..43),
        },
        Literal { lit: Lit { kind: Str, symbol: "SNPP", suffix: None }, span: Span { lo: BytePos(44), hi: BytePos(50), ctxt: #0 } },
        Punct {
            ch: ',',
            spacing: Alone,
            span: #0 bytes(50..51),
        },
        Ident {
            ident: "owner",
            span: #0 bytes(56..61),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(62..63),
        },
        Literal { lit: Lit { kind: Str, symbol: "Canary M Burns", suffix: None }, span: Span { lo: BytePos(64), hi: BytePos(80), ctxt: #0 } },
    ]

After:

    TokenStream [
        Ident {
            ident: "name",
            span: #0 bytes(37..41),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(42..43),
        },
        Literal {
            kind: Str,
            symbol: "SNPP",
            suffix: None,
            span: #0 bytes(44..50),
        },
        Punct {
            ch: ',',
            spacing: Alone,
            span: #0 bytes(50..51),
        },
        Ident {
            ident: "owner",
            span: #0 bytes(56..61),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(62..63),
        },
        Literal {
            kind: Str,
            symbol: "Canary M Burns",
            suffix: None,
            span: #0 bytes(64..80),
        },
    ]
</content>
</entry>
<entry>
<title>Rollup merge of #68716 - petrochenkov:stabmixed, r=dtolnay</title>
<updated>2020-04-27T01:26:05+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2020-04-27T01:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d0025263a55f1bcb80ebdc0d83d1e64cdf05e5a'/>
<id>urn:sha1:9d0025263a55f1bcb80ebdc0d83d1e64cdf05e5a</id>
<content type='text'>
Stabilize `Span::mixed_site`

Closes https://github.com/rust-lang/rust/issues/65049.
cc https://github.com/rust-lang/rust/issues/54727#issuecomment-580647446

Pre-requisite for https://github.com/rust-lang/rust/pull/68717 ("Stabilize fn-like proc macros in expression, pattern and statement positions").

Stabilization report: https://github.com/rust-lang/rust/pull/68716#issuecomment-581076337.
</content>
</entry>
</feed>
