Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the struct ParamTy #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

DonKilic
Copy link
Collaborator

  • made some changes to ParamTy and any functions related
  • passes all test in test/ui/hkt tests
  • fails 63 tests in test/ui

- currently problems with: comparison with implementing struct and trait, return type of pattern-match and functions have to return the same concrete type, and cannot have impl trait in closure that takes Self as type parameter
- currently problems with the compiler tests failing due to: asserts, not implemented, and something else
- currently hkt.rs fails with the expected errors
# Conflicts:
#	compiler/rustc_hir_analysis/src/collect/predicates_of.rs
#	compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs
#	compiler/rustc_hir_typeck/src/method/probe.rs
#	compiler/rustc_hir_typeck/src/method/suggest.rs
#	compiler/rustc_infer/src/infer/outlives/verify.rs
#	compiler/rustc_middle/src/ty/context.rs
#	compiler/rustc_middle/src/ty/error.rs
#	compiler/rustc_middle/src/ty/print/pretty.rs
#	compiler/rustc_middle/src/ty/structural_impls.rs
#	compiler/rustc_middle/src/ty/sty.rs
#	compiler/rustc_middle/src/ty/util.rs
#	compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs
#	compiler/rustc_trait_selection/src/traits/mod.rs
#	compiler/rustc_type_ir/src/sty.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant