summaryrefslogtreecommitdiff
path: root/Notes
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-22 10:00:48 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-22 16:00:27 +0800
commit277d72e62b0e96e6a49abfc925c87b1073bf5d54 (patch)
tree361970ad4673854549a319588b8a03018791b385 /Notes
parent994526e384a5ee99a75aaba2b151616eac9e0b0e (diff)
downloadmrust-277d72e62b0e96e6a49abfc925c87b1073bf5d54.tar.gz
Notes/Quirks - UFCS paths
Diffstat (limited to 'Notes')
-rw-r--r--Notes/Quirks.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/Notes/Quirks.md b/Notes/Quirks.md
index 258d095e..e9e8e077 100644
--- a/Notes/Quirks.md
+++ b/Notes/Quirks.md
@@ -34,4 +34,10 @@ Modules with the same name as primtiive types have interesting lookup quirks
- Otherwise, treat it as `<u32 as ?>::some_name`
+UFCS "inherent" paths can resolve to trait items
+================================================
+_Unconfirmed_
+`<Foo>::SOMECONST` can either refer to `impl Foo { const SOMECONST... } or `impl Trait for Foo { const SOMECONST ... }`
+
+