File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,12 @@ impl LintStore {
166
166
self . early_passes . push ( Box :: new ( pass) ) ;
167
167
}
168
168
169
- /// Used by clippy.
169
+ /// This lint pass is softly deprecated. It misses expanded code and has caused a few
170
+ /// errors in the past. Currently, it is only used in Clippy. New implementations
171
+ /// should avoid using this interface, as it might be removed in the future.
172
+ ///
173
+ /// * See [rust#69838](https://github.com/rust-lang/rust/pull/69838)
174
+ /// * See [rust-clippy#5518](https://github.com/rust-lang/rust-clippy/pull/5518)
170
175
pub fn register_pre_expansion_pass (
171
176
& mut self ,
172
177
pass : impl Fn ( ) -> EarlyLintPassObject + ' static + sync:: Send + sync:: Sync ,
You can’t perform that action at this time.
0 commit comments