about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-26 09:44:21 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-26 16:49:35 -0800
commit3649c2a39f26e59c73e96bc7e6bf7d7d025b6be3 (patch)
tree1a85c5f46c9d3fd3d160197e2b1ea2adf286a255 /src/test/codegen/stack-alloc-string-slice.cc
parent52d4526e1bea858f08014cb48bee0ad02059ab63 (diff)
parent3b9dfd6af04ca008a4c2ef13b7fd2e8433dc473f (diff)
downloadrust-3649c2a39f26e59c73e96bc7e6bf7d7d025b6be3.tar.gz
rust-3649c2a39f26e59c73e96bc7e6bf7d7d025b6be3.zip
rollup merge of #19273: ogham/rename-file-types
All of the enum components had a redundant 'Type' specifier: TypeSymlink, TypeDirectory, TypeFile. This change removes them, replacing them with a namespace: FileType::Symlink, FileType::Directory, and FileType::RegularFile.

RegularFile is used instead of just File, as File by itself could be mistakenly thought of as referring to the struct.

Part of #19253.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions