about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-30240.rs
AgeCommit message (Collapse)AuthorLines
2020-11-19Regroup many usefulness-related test in the same folderNadrieril-10/+0
2020-11-01Fix #78549Nadrieril-2/+2
Before #78430, string literals worked because `specialize_constructor` didn't actually care too much which constructor was passed to it unless needed. Since then, string literals are special cased and a bit hacky. I did not anticipate patterns for the `&str` type other than string literals, hence this bug. This makes string literals less hacky.
2020-10-27Be honest about being able to list constructorsNadrieril-2/+2
The test change is because we used to treat `&str` like other `&T`s, ie as having a single constructor. That's not quite true though since we consider `&str` constants as atomic instead of refs to `str` constants.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+20