Some path updates
This commit is contained in:
parent
6367e69929
commit
f22f149dbd
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ impl<'a, 'tcx> Visitor<'a, 'tcx> for UnsafetyVisitor<'a, 'tcx> {
|
|||
// If the called function has target features the calling function hasn't,
|
||||
// the call requires `unsafe`. Don't check this on wasm
|
||||
// targets, though. For more information on wasm see the
|
||||
// is_like_wasm check in typeck/src/collect.rs
|
||||
// is_like_wasm check in hir_analysis/src/collect.rs
|
||||
if !self.tcx.sess.target.options.is_like_wasm
|
||||
&& !self
|
||||
.tcx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue