aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests
diff options
context:
space:
mode:
authorRoland Ruckerbauer <[email protected]>2020-10-14 18:00:04 +0100
committerRoland Ruckerbauer <[email protected]>2020-10-14 18:00:04 +0100
commit0e9d1e17d6e45b44ec1a8f1430109cfc75e41241 (patch)
treea1ba22d3776968e2704d6bd269eeec2cebe4419a /crates/hir_ty/src/tests
parent4e49b2f73144460cde5ada8140964d96166f41fd (diff)
binary operator overload type inference: add test mark
Diffstat (limited to 'crates/hir_ty/src/tests')
-rw-r--r--crates/hir_ty/src/tests/simple.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir_ty/src/tests/simple.rs b/crates/hir_ty/src/tests/simple.rs
index a3ae304a1..4f72582b6 100644
--- a/crates/hir_ty/src/tests/simple.rs
+++ b/crates/hir_ty/src/tests/simple.rs
@@ -1,4 +1,5 @@
1use expect_test::expect; 1use expect_test::expect;
2use test_utils::mark;
2 3
3use super::{check_infer, check_types}; 4use super::{check_infer, check_types};
4 5
@@ -2228,6 +2229,8 @@ fn generic_default_depending_on_other_type_arg_forward() {
2228 2229
2229#[test] 2230#[test]
2230fn infer_operator_overload() { 2231fn infer_operator_overload() {
2232 mark::check!(infer_expr_inner_binary_operator_overload);
2233
2231 check_infer( 2234 check_infer(
2232 r#" 2235 r#"
2233 struct V2([f32; 2]); 2236 struct V2([f32; 2]);