29 lines
813 B
Plaintext
29 lines
813 B
Plaintext
error: `report_selection_error` did not emit an error
|
|
--> $DIR/eagerly-emit.rs:7:11
|
|
|
|
|
LL | fn f() -> impl Foo {
|
|
| ^^^^^^^^
|
|
|
|
error: trimmed_def_paths constructed but no error emitted; use `DelayDm` for lints or `with_no_trimmed_paths` for debugging
|
|
|
|
error[E0277]: the trait bound `i32: Foo` is not satisfied
|
|
--> $DIR/eagerly-emit.rs:7:11
|
|
|
|
|
LL | fn f() -> impl Foo {
|
|
| ^^^^^^^^ the trait `Foo` is not implemented for `i32`
|
|
...
|
|
LL | 1i32
|
|
| ---- return type was inferred to be `i32` here
|
|
|
|
|
help: this trait has no implementations, consider adding one
|
|
--> $DIR/eagerly-emit.rs:3:1
|
|
|
|
|
LL | trait Foo {}
|
|
| ^^^^^^^^^
|
|
|
|
error: expected fulfillment errors
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|