about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-43733-2.rs
AgeCommit message (Collapse)AuthorLines
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-28/+0
2020-09-02pretty: trim paths of unique symbolsDan Aloni-1/+1
If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not.
2019-06-19fix compile-fail test for targets without thread localstyler-4/+3
2019-05-15clang tidy fixestyler-1/+2
2019-05-15fix another testtyler-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-05Stabilize `min_const_fn`Oliver Schneider-1/+0
2018-08-31Restrict most uses of `const_fn` to `min_const_fn`Oliver Schneider-1/+1
2018-03-14Reword E0044 and message for `!Send` typesEsteban Küber-2/+2
- Reword E0044 help. - Change error message for types that don't implement `Send`
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-1/+1
Fixes #46038
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-1/+1
2017-09-09Stabilize drop_types_in_const.Eduard-Mihai Burtescu-1/+1
2017-08-12Check #[thread_local] statics correctly in the compiler.Eduard-Mihai Burtescu-0/+39