1 2 3 4 5 6 7 8 9 10 11
name: "no_implicit_prelude" description: "确保带有 #![no_implicit_prelude] 的文件不被修改" input: | #![no_implicit_prelude] impl ::std::fmt::Display for MyType { fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { Ok(()) } } expected: null