]> git.lizzy.rs Git - rust.git/blob - src/test/ui/continue-after-missing-main.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[rust.git] / src / test / ui / continue-after-missing-main.stderr
1 error[E0601]: `main` function not found in crate `continue_after_missing_main`
2    |
3    = note: consider adding a `main` function to `$DIR/continue-after-missing-main.rs`
4
5 error[E0623]: lifetime mismatch
6   --> $DIR/continue-after-missing-main.rs:30:56
7    |
8 LL |     tableau: Tableau<'data_provider, AdaptedMatrixProvider<'original_data, MP>>,
9    |              ------------------------------------------------------------------ these two types are declared with different lifetimes...
10 LL | ) {
11 LL |     let _: AdaptedMatrixProvider<'original_data, MP> = tableau.provider().clone_with_extra_bound();
12    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...but data from `tableau` flows into `tableau` here
13
14 error: aborting due to 2 previous errors
15
16 For more information about this error, try `rustc --explain E0601`.