• I
    Unsafe lint will also check for other unsafe code · be0dc496
    Ivan Petkov 提交于
    Checks include declaration/implementation of unsafe functions, traits,
    and methods.
    
    This allows warning or forbidding all uses of unsafe code, whereas
    previously only unsafe blocks were caught by the lint.
    
    The lint has been renamed from `unsafe-blocks` to `unsafe-code` to
    reflect its new purpose.
    
    This is a minor [breaking-change]
    
    Closes #22430
    be0dc496
context.rs 28.2 KB