pub fn deprecation(
line: Option<usize>,
message: impl ToString,
) -> SourceInfoError
Expand description
Creates a SourceInfoError
for deprecation warnings.
Takes an optional line
on which the issue occurred and a message
.
pub fn deprecation(
line: Option<usize>,
message: impl ToString,
) -> SourceInfoError
Creates a SourceInfoError
for deprecation warnings.
Takes an optional line
on which the issue occurred and a message
.