]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/needless_lifetimes.stderr
Rustup to https://github.com/rust-lang/rust/pull/61203
[rust.git] / tests / ui / needless_lifetimes.stderr
index 9334076fc71c2c041a8ffa651f9bd39391b4512c..bbb69aeda1c484b266bd2dc57432650fa0335f29 100644 (file)
@@ -81,7 +81,7 @@ LL | | }
 error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)
   --> $DIR/needless_lifetimes.rs:178:1
    |
-LL | / fn trait_obj_elided2<'a>(_arg: &'a Drop) -> &'a str {
+LL | / fn trait_obj_elided2<'a>(_arg: &'a dyn Drop) -> &'a str {
 LL | |     unimplemented!()
 LL | | }
    | |_^