about summary refs log tree commit diff
path: root/src/test/run-pass/ranges-precedence.rs
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-52/+0
2019-07-27tests: Add missing run-pass annotationsVadim Petrochenkov-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2015-06-13Use `assert_eq!` instead of `assert!` in testspetrochenkov-11/+11
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-2/+2
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-1/+1
2015-02-15Fix rollup (remove slicing_syntax)Manish Goregaokar-1/+0
2015-02-04Implement `..` syntax for RangeFull as expressionUlrik Sverdrup-0/+3
Allows the expression `..` (without either endpoint) in general, can be used in slicing syntax `&expr[..]` where we previously wrote `&expr[]`. The old syntax &expr[] is not yet removed or warned for.
2015-01-22Fix some grammar inconsistencies for the '..' range notation.Daniel Grunwald-0/+7
Grammar changes: * allow 'for _ in 1..i {}' (fixes #20241) * allow 'for _ in 1.. {}' as infinite loop * prevent use of range notation in contexts where only operators of high precedence are expected (fixes #20811) Parser code cleanup: * remove RESTRICTION_NO_DOTS * make AS_PREC const and follow naming convention * make min_prec inclusive
2015-01-08Remove String impls and fix for make tidyNick Cameron-1/+1
2015-01-08Fix precedence for ranges.Nick Cameron-0/+52
Technically this is a [breaking-change] but it probably shouldn't affect your code. Closes #20256