about summary refs log tree commit diff
path: root/src/test/run-pass/issue-2063.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-31/+0
2017-02-21Stabilize static_recursionTaylor Cramer-2/+0
2015-07-24Allow writing types which "can't" be instantiated.Eli Friedman-0/+33
The borrow checker doesn't allow constructing such a type at runtime using safe code, but there isn't any reason to ban them in the type checker. Included in this commit is an example of a neat static doubly-linked list. Feature-gated under the static_recursion gate to be on the safe side, but there are unlikely to be any reasons this shouldn't be turned on by default.