about summary refs log tree commit diff
path: root/tests/ui/rustdoc/cfg-rustdoc.stderr
blob: 0e8a5dfea61e6f9583e8c06b9d611c62b09f287a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0425]: cannot find value `Foo` in this scope
  --> $DIR/cfg-rustdoc.rs:5:13
   |
LL |     let f = Foo;
   |             ^^^ not found in this scope
   |
note: found an item that was configured out
  --> $DIR/cfg-rustdoc.rs:2:12
   |
LL | #[cfg(doc)]
   |       --- the item is gated here
LL | pub struct Foo;
   |            ^^^

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.