]> git.lizzy.rs Git - rust.git/commit
Emit appropriate suggestion when there's already 'static bound on the return type.
authorDavid Wood <david@davidtw.co>
Tue, 4 Sep 2018 16:56:14 +0000 (18:56 +0200)
committerDavid Wood <david@davidtw.co>
Thu, 13 Sep 2018 08:01:18 +0000 (10:01 +0200)
commit7a89e93519ce0880fe10c37c2ca8f63686fc210b
tree7cb4156fc0be364e0c1fb2d7f6a275a7a2007c59
parent65e253966693a1c222badf977dc133df028f2351
Emit appropriate suggestion when there's already 'static bound on the return type.
src/librustc/ty/context.rs
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/mod.rs
src/librustc_mir/borrow_check/nll/region_infer/error_reporting/region_name.rs
src/test/ui/impl-trait/must_outlive_least_region_or_bound.nll.stderr