about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-07-14 15:05:26 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-07-17 08:28:19 +1000
commit9f0080801da75c596cd8548ffb539bb8f046fa62 (patch)
treecd4ea8ad2ed0c746778d800b1c4dcf0d04e8e5ad /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentbccff14a2084784d70bb3caefb24f1694212c0b4 (diff)
downloadrust-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