Tighter type bounds for messages
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
parent
c4a6f84b80
commit
0c8c800f21
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
|
|||
&self,
|
||||
lint: &'static lint::Lint,
|
||||
source_info: SourceInfo,
|
||||
message: &str,
|
||||
message: &'static str,
|
||||
panic: AssertKind<u64>,
|
||||
) -> Option<()> {
|
||||
let lint_root = self.lint_root(source_info)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue