about summary refs log tree commit diff
path: root/tests/ui/attributes/crate-type-empty.stderr
blob: f50bb33d6bb0156b45547ea02d3667c88a94a312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error: malformed `crate_type` attribute input
  --> $DIR/crate-type-empty.rs:2:1
   |
LL | #![crate_type]
   | ^^^^^^^^^^^^^^
   |
   = note: for more information, visit <https://doc.rust-lang.org/reference/linkage.html>
help: the following are the possible correct uses
   |
LL | #![crate_type = "bin"]
   |               +++++++
LL | #![crate_type = "cdylib"]
   |               ++++++++++
LL | #![crate_type = "dylib"]
   |               +++++++++
LL | #![crate_type = "lib"]
   |               +++++++
   = and 4 other candidates

error: aborting due to 1 previous error