summary refs log tree commit diff
path: root/src/test/ui/issues
AgeCommit message (Collapse)AuthorLines
2022-12-12bless testPietro Albini-3/+2
2022-12-11fix test errouz-a-3/+4
2022-12-11re-add test and blessouz-a-1/+1
2022-12-11revert-overflowouz-a-1/+7
2022-10-23Rollup merge of #103305 - c410-f3r:moar-errors, r=petrochenkovDylan DPC-331/+0
Move some tests to more reasonable places r? `@petrochenkov`
2022-10-21Auto merge of #101263 - lopopolo:lopopolo/c-unwind-fn-ptr-impls, r=thomccbors-2/+2
Add default trait implementations for "c-unwind" ABI function pointers Following up on #92964, only add default trait implementations for the `c-unwind` family of function pointers. The previous attempt in #92964 added trait implementations for many more ABIs and ran into concerns regarding the increase in size of the libcore rlib. An attempt to abstract away function pointer types behind a unified trait to reduce the duplication of trait impls is being discussed in #99531 but this change looks to be blocked on a lang MCP. Following `@RalfJung's` suggestion in https://github.com/rust-lang/rust/pull/99531#issuecomment-1233440142, this commit is another cut at #92964 but it _only_ adds the impls for `extern "C-unwind" fn` and `unsafe extern "C-unwind" fn`. I am interested in landing this patch to unblock the stabilization of the `c_unwind` feature. RFC: https://github.com/rust-lang/rfcs/pull/2945 Tracking Issue: https://github.com/rust-lang/rust/issues/74990
2022-10-20Move some tests for more reasonable placesCaio-331/+0
2022-10-19Adjust `transmute{,_copy}` to be clearer about which of `T` and `U` is input ↵Thom Chiovoloni-3/+3
vs output
2022-10-19Bless ui testsRyan Lopopolo-2/+2
2022-10-19instantiate -> constructMichael Goulet-1/+1
2022-10-19Generalize call suggestion for unsatisfied predicateMichael Goulet-1/+1
2022-10-18Rollup merge of #103023 - andrewpollack:i-fuchsia-finals, r=tmandryYuki Okushi-0/+1
Adding `fuchsia-ignore` and `needs-unwind` to compiler test cases Final tests covering missing privileges r? ``@tmandry`` cc. ``@djkoloski``
2022-10-14Rollup merge of #102938 - c410-f3r:here-we-go-again, r=petrochenkovDylan DPC-294/+0
Move some tests to more reasonable directories r? ``@petrochenkov``
2022-10-13Adding fuchsia-ignore and needs-unwind to compiler test casesAndrew Pollack-0/+1
2022-10-13Report duplicate definition in impls with overlap check.Camille GILLOT-4/+4
2022-10-13Move some tests to more reasonable directoriesCaio-294/+0
2022-10-13Rollup merge of #102974 - Rageking8:fix-small-word-dupe-typos, r=JohnTitorYuki Okushi-3/+3
Fix small word dupe typos
2022-10-13fix small word dupe typosRageking8-3/+3
2022-10-12add test for issue 102964Rageking8-0/+29
2022-10-10Check representability in adt_sized_constraintCameron Steffen-18/+3
2022-10-10Rollup merge of #102055 - c410-f3r:moar-errors, r=petrochenkovDylan DPC-87/+0
Move some tests to more reasonable directories r? ``@petrochenkov``
2022-10-09fixup lint nameMaybe Waffle-1/+1
2022-10-09allow or avoid for loops over option in compiler and testsMaybe Waffle-0/+1
2022-10-07Rewrite representabilityCameron Steffen-96/+62
2022-10-07Rollup merge of #102720 - lyming2007:issue-102397-fix, r=compiler-errorsMatthias Krüger-2/+2
do not reverse the expected type and found type for ObligationCauseCo… …de of IfExpressionWithNoElse this will fix #102397
2022-10-06Rollup merge of #102694 - compiler-errors:fn-to-method, r=davidtwcoMatthias Krüger-6/+6
Suggest calling method if fn does not exist I tried to split this up into two commits, the first where we stash the resolution error until typeck (which causes a bunch of diagnostics changes because the ordering of error messages change), then the second commit is the actual logic that actually implements the suggestion. I am not in love with the presentation of the suggestion, so I could use some advice for how to format the actual messaging. r? diagnostics Fixes #102518
2022-10-05do not reverse the expected type and found type for ObligationCauseCode of ↵Yiming Lei-2/+2
IfExpressionWithNoElse this will fix #102397
2022-10-05Rollup merge of #100986 - ↵Dylan DPC-10/+0
TaKO8Ki:do-not-suggest-adding-generic-args-for-turbofish, r=compiler-errors Stop suggesting adding generic args for turbofish Fixes #100137
2022-10-05stop suggesting adding generic args for turbofishTakayuki Maeda-10/+0
2022-10-05Delay function resolution error until typeckMichael Goulet-6/+6
2022-10-04slightly improve no return for returning function errorRageking8-1/+1
2022-10-01bless ui testsMaybe Waffle-27/+27
2022-09-28Auto merge of #101619 - Xiretza:rustc_parse-session-diagnostics, r=davidtwcobors-2/+2
Migrate more of rustc_parse to SessionDiagnostic Still far from complete, but I thought I'd add a checkpoint here because rebasing was starting to get annoying.
2022-09-28Auto merge of #102388 - JohnTitor:rollup-mbyw6fl, r=JohnTitorbors-1/+1
Rollup of 8 pull requests Successful merges: - #100747 (Add long description and test for E0311) - #102232 (Stabilize bench_black_box) - #102288 (Suggest unwrapping `???<T>` if a method cannot be found on it but is present on `T`.) - #102338 (Deny associated type bindings within associated type bindings) - #102347 (Unescaping cleanups) - #102348 (Tweak `FulfillProcessor`.) - #102378 (Use already resolved `self_ty` in `confirm_fn_pointer_candidate`) - #102380 (rustdoc: remove redundant mobile `.source > .sidebar` CSS) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2022-09-28Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8KiYuki Okushi-1/+1
Stabilize bench_black_box This PR stabilize `feature(bench_black_box)`. ```rust pub fn black_box<T>(dummy: T) -> T; ``` The FCP was completed in https://github.com/rust-lang/rust/issues/64102. `@rustbot` label +T-libs-api -T-libs
2022-09-27Migrate more diagnostics in rustc_parse to diagnostic structsXiretza-2/+2
2022-09-27Stabilize bench_black_boxUrgau-1/+1
2022-09-27Update tests.Mara Bos-6/+4
2022-09-26address reviewb-naber-9/+9
2022-09-24Auto merge of #102068 - cjgillot:erased-lifetime-print, r=eholkbors-2/+2
Always print '_, even for erased lifetimes. Explicit lifetime arguments are now the recommended syntax in rust 2018 and rust 2021. This PR applies this discipline to rustc itself.
2022-09-23Always print '_, even for erased lifetimes.Camille GILLOT-2/+2
2022-09-23Restore ignore tagFlorian Bartels-4/+0
This test case actually requires std::process.
2022-09-22Auto merge of #100982 - fee1-dead-contrib:const-impl-requires-const-trait, ↵bors-18/+10
r=oli-obk Require `#[const_trait]` on `Trait` for `impl const Trait` r? `@oli-obk`
2022-09-21Adding needs-unwind for test using panic::catch_unwindAndrew Pollack-2/+3
2022-09-20Move some tests to more reasonable directoriesCaio-87/+0
2022-09-17Use Predicate ConstraintCategory when normalizingJack Huey-0/+6
2022-09-17bless tests againDeadbeef-2/+4
2022-09-16Revert "Use Predicate ConstraintCategory when normalizing"Jack Huey-6/+0
This reverts commit aae37f87632dd74856d55c0cd45d2c192379c990.
2022-09-16Bless ui tests after typeck code changeDeadbeef-34/+4
2022-09-16bless testsDeadbeef-26/+46