Skip to content

Commit d1e9965

Browse files
committed
3373: Add prior art
1 parent 218949d commit d1e9965

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

text/3373-avoid-nonlocal-definitions-in-fns.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ different pattern. In particular, this pattern may occur in macro-generated
6060
code, or in code generated by tools like rustdoc. Making this change would
6161
require such code and tools to restructure to meet this requirement.
6262

63+
# Prior art
64+
[prior-art]: #prior-art
65+
66+
Other aspects of Rust's design attempt to enable local reasoning and avoid
67+
global reasoning, including non-inference of function signatures, and not
68+
having the function body affect non-opaque properties of `impl Trait` uses in
69+
the signature without reflecting those properties in the signature.
70+
6371
# Unresolved questions
6472
[unresolved-questions]: #unresolved-questions
6573

0 commit comments

Comments
 (0)