diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-11 10:36:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-11 10:36:33 +0100 |
| commit | 6a8683fcd0f51eb3e17c464f9c68967c71a62de5 (patch) | |
| tree | d1c781bd7041e9f7d374d93281f64d6803cbd9cd /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a05bab59259fb8baec236363d7f40925644e17ec (diff) | |
| parent | 6b27e8d2a631183babfb25c5aac008b263ba4978 (diff) | |
| download | rust-6a8683fcd0f51eb3e17c464f9c68967c71a62de5.tar.gz rust-6a8683fcd0f51eb3e17c464f9c68967c71a62de5.zip | |
Rollup merge of #69896 - petrochenkov:reqname2, r=Centril
parse: Tweak the function parameter edition check
Follow-up to https://github.com/rust-lang/rust/pull/69801.
Edition of a code fragment is inferred from "the place where the code is written".
For individual tokens like edition-specific keywords it may be the span of the token itself ("uninterpolated" span), but for larger code fragments it's probably not, in the test example the trait method is obviously written in "2015 edition code".
r? @Centril
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
