libstd: deny(elided_lifetimes_in_paths)
This commit is contained in:
parent
cee58fdc12
commit
379c380a60
85 changed files with 372 additions and 367 deletions
|
@ -204,10 +204,10 @@ mod prim_bool { }
|
|||
/// #![feature(never_type)]
|
||||
/// # use std::fmt;
|
||||
/// # trait Debug {
|
||||
/// # fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result;
|
||||
/// # fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result;
|
||||
/// # }
|
||||
/// impl Debug for ! {
|
||||
/// fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||
/// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
/// *self
|
||||
/// }
|
||||
/// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue