File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
compiler-core/src/type_/tests Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -261,33 +261,6 @@ pub fn main() {
261261 ) ;
262262}
263263
264- #[ test]
265- fn multiple_bad_statement_assignment_with_annotation_fault_tolerance ( ) {
266- assert_module_error ! (
267- r#"
268- pub fn main() {
269- let a: Int = "not an int"
270- let b: String = 1
271- let c = a + 2
272- }
273- "#
274- ) ;
275- }
276-
277- #[ test]
278- fn multiple_bad_statement_assignment_with_annotation_fault_tolerance2 ( ) {
279- assert_module_error ! (
280- r#"
281- pub fn main() {
282- // Since the value is invalid the type is the annotation
283- let a: Int = Junk
284- let b: String = 1
285- let c = a + 2
286- }
287- "#
288- ) ;
289- }
290-
291264#[ test]
292265fn multiple_bad_statement_assignment_with_pattern_fault_tolerance2 ( ) {
293266 assert_module_error ! (
You can’t perform that action at this time.
0 commit comments