diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-14 15:05:26 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-07-17 08:28:19 +1000 |
| commit | 9f0080801da75c596cd8548ffb539bb8f046fa62 (patch) | |
| tree | cd4ea8ad2ed0c746778d800b1c4dcf0d04e8e5ad /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | bccff14a2084784d70bb3caefb24f1694212c0b4 (diff) | |
| download | rust-9f0080801da75c596cd8548ffb539bb8f046fa62.tar.gz rust-9f0080801da75c596cd8548ffb539bb8f046fa62.zip | |
Remove `ExtCtxt::ident_of`.
It's equivalent to `Ident::from_str_and_span`. The commit also introduces some more static symbols so that `Ident::new` can be used in various places instead of `Ident::from_str_and_span`. The commit also changes `Path::path` from a `&str` to a `Symbol`, which then allows the lifetime annotation to be removed from `Ty`. Also, the use of `Symbol` in `Bounds` removes the need for its lifetime annotation.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
