]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/variance/variance-invariant-arg-object.stderr
clean variance test
[rust.git] / src / test / ui / variance / variance-invariant-arg-object.stderr
index 8acd5417de76584c9ac48440217567c0a1d5c81c..9793a36be06ab1dd4fc4757f69571f3a4a991841 100644 (file)
@@ -14,7 +14,7 @@ LL |     v
 error: lifetime may not live long enough
   --> $DIR/variance-invariant-arg-object.rs:19:5
    |
-LL | fn get_max_from_min<'min, 'max, G>(v: Box<dyn Get<&'min i32>>)
+LL | fn get_max_from_min<'min, 'max>(v: Box<dyn Get<&'min i32>>)
    |                     ----  ---- lifetime `'max` defined here
    |                     |
    |                     lifetime `'min` defined here