|
| 1 | +error: internal compiler error: compiler/rustc_mir_build/src/thir/cx/expr.rs:1314:13: no splatted def for function or method callee |
| 2 | + --> $DIR/splat-fn-ptr-tuple-const-ice.rs:28:19 |
| 3 | + | |
| 4 | +LL | const _: () = FN_PTR(1, 2); |
| 5 | + | ^^^^^^^^^^^^ |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +Box<dyn Any> |
| 10 | +stack backtrace: |
| 11 | + |
| 12 | +note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md |
| 13 | + |
| 14 | +note: please make sure that you have updated to the latest nightly |
| 15 | + |
| 16 | +note: rustc {version} running on {platform} |
| 17 | + |
| 18 | +query stack during panic: |
| 19 | +#0 [thir_body] building THIR for `main::_` |
| 20 | +#1 [check_match] match-checking `main::_` |
| 21 | +#2 [mir_built] building MIR for `main::_` |
| 22 | +#3 [trivial_const] checking if `main::_` is a trivial const |
| 23 | +#4 [eval_to_const_value_raw] simplifying constant for the type system `main::_` |
| 24 | +#5 [analysis] running analysis passes on crate `splat_fn_ptr_tuple_const_ice` |
| 25 | +end of query stack |
| 26 | +error: internal compiler error: compiler/rustc_mir_build/src/thir/cx/expr.rs:1314:13: no splatted def for function or method callee |
| 27 | + --> $DIR/splat-fn-ptr-tuple-const-ice.rs:29:19 |
| 28 | + | |
| 29 | +LL | const _: () = FN_PTR(1u32, 2i8); |
| 30 | + | ^^^^^^^^^^^^^^^^^ |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +Box<dyn Any> |
| 35 | +stack backtrace: |
| 36 | + |
| 37 | +note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md |
| 38 | + |
| 39 | +note: please make sure that you have updated to the latest nightly |
| 40 | + |
| 41 | +note: rustc {version} running on {platform} |
| 42 | + |
| 43 | +query stack during panic: |
| 44 | +#0 [thir_body] building THIR for `main::_` |
| 45 | +#1 [check_match] match-checking `main::_` |
| 46 | +#2 [mir_built] building MIR for `main::_` |
| 47 | +#3 [trivial_const] checking if `main::_` is a trivial const |
| 48 | +#4 [eval_to_const_value_raw] simplifying constant for the type system `main::_` |
| 49 | +#5 [analysis] running analysis passes on crate `splat_fn_ptr_tuple_const_ice` |
| 50 | +end of query stack |
| 51 | +error[E0057]: this splatted function takes 2 arguments, but 1 was provided |
| 52 | + --> $DIR/splat-fn-ptr-tuple-const-ice.rs:33:19 |
| 53 | + | |
| 54 | +LL | const _: () = FN_PTR((1, 2)); |
| 55 | + | ^^^^^^^^^^^^^^ |
| 56 | + |
| 57 | +error: internal compiler error: compiler/rustc_mir_build/src/thir/cx/expr.rs:1314:13: no splatted def for function or method callee |
| 58 | + --> $DIR/splat-fn-ptr-tuple-const-ice.rs:39:19 |
| 59 | + | |
| 60 | +LL | const _: () = (*FN_PTR_PTR)(1, 2); |
| 61 | + | ^^^^^^^^^^^^^^^^^^^ |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | +Box<dyn Any> |
| 66 | +stack backtrace: |
| 67 | + |
| 68 | +note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md |
| 69 | + |
| 70 | +note: please make sure that you have updated to the latest nightly |
| 71 | + |
| 72 | +note: rustc {version} running on {platform} |
| 73 | + |
| 74 | +query stack during panic: |
| 75 | +#0 [thir_body] building THIR for `main::_` |
| 76 | +#1 [check_match] match-checking `main::_` |
| 77 | +#2 [mir_built] building MIR for `main::_` |
| 78 | +#3 [trivial_const] checking if `main::_` is a trivial const |
| 79 | +#4 [eval_to_const_value_raw] simplifying constant for the type system `main::_` |
| 80 | +#5 [analysis] running analysis passes on crate `splat_fn_ptr_tuple_const_ice` |
| 81 | +end of query stack |
| 82 | +error: internal compiler error: compiler/rustc_mir_build/src/thir/cx/expr.rs:1314:13: no splatted def for function or method callee |
| 83 | + --> $DIR/splat-fn-ptr-tuple-const-ice.rs:40:19 |
| 84 | + | |
| 85 | +LL | const _: () = (*FN_PTR_PTR)(1u32, 2i8); |
| 86 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | +Box<dyn Any> |
| 91 | +stack backtrace: |
| 92 | + |
| 93 | +note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md |
| 94 | + |
| 95 | +note: please make sure that you have updated to the latest nightly |
| 96 | + |
| 97 | +note: rustc {version} running on {platform} |
| 98 | + |
| 99 | +query stack during panic: |
| 100 | +#0 [thir_body] building THIR for `main::_` |
| 101 | +#1 [check_match] match-checking `main::_` |
| 102 | +#2 [mir_built] building MIR for `main::_` |
| 103 | +#3 [trivial_const] checking if `main::_` is a trivial const |
| 104 | +#4 [eval_to_const_value_raw] simplifying constant for the type system `main::_` |
| 105 | +#5 [analysis] running analysis passes on crate `splat_fn_ptr_tuple_const_ice` |
| 106 | +end of query stack |
| 107 | +error: aborting due to 5 previous errors |
| 108 | + |
| 109 | +For more information about this error, try `rustc --explain E0057`. |
0 commit comments