mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Apply review suggestions
This commit is contained in:
parent
e8733f7845
commit
f736de5dbc
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
#![allow(unused_imports)]
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
#![allow(dead_code)]
|
||||
struct A;
|
||||
impl Drop for A {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// check-pass
|
||||
// build-pass
|
||||
#[derive(Debug)]
|
||||
pub struct Config {
|
||||
pub name: String,
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
trait Canvas {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// check-pass
|
||||
// build-pass
|
||||
#![allow(dead_code)]
|
||||
trait Foo {
|
||||
fn foo(&self);
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
#![allow(dead_code)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// aux-build:issue-57264-1.rs
|
||||
|
||||
extern crate issue_57264_1;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// build-pass
|
||||
// check-pass
|
||||
// aux-build:issue-57264-2.rs
|
||||
|
||||
extern crate issue_57264_2;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// aux-build:foo.rs
|
||||
// compile-flags:--extern foo
|
||||
// build-pass
|
||||
// check-pass
|
||||
// edition:2018
|
||||
|
||||
#![deny(unused_extern_crates)]
|
||||
|
Loading…
Reference in New Issue
Block a user