summaryrefslogtreecommitdiff
path: root/src/hir/path.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-06-05 20:37:45 +0800
committerJohn Hodge <tpg@mutabah.net>2016-06-05 20:37:45 +0800
commit52eb59ef0e0eedb8ea4da2210c5357245e523dfd (patch)
tree5f2a1483b0a1dd3ce3f0b1edaab8d55b90be276d /src/hir/path.hpp
parente3f35882f8240e506e34bb37c8fef1ca34601882 (diff)
downloadmrust-52eb59ef0e0eedb8ea4da2210c5357245e523dfd.tar.gz
Resolve - UFCS resolution expanded to handle `Self` and params
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r--src/hir/path.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp
index 02aedba4..9610a076 100644
--- a/src/hir/path.hpp
+++ b/src/hir/path.hpp
@@ -53,6 +53,10 @@ struct PathParams
PathParams();
PathParams clone() const;
+ PathParams(const PathParams&) = delete;
+ PathParams& operator=(const PathParams&) = delete;
+ PathParams(PathParams&&) = default;
+ PathParams& operator=(PathParams&&) = default;
//bool operator==(const PathParams& x) const;
//bool operator<(const PathParams& x) const;