Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Fix doctest compilation failure #4841

Merged
merged 1 commit into from
Aug 23, 2019
Merged

Fix doctest compilation failure #4841

merged 1 commit into from
Aug 23, 2019

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Aug 22, 2019

Fix the following compilation failure related to a doctest:

  Doc-tests logger
error[E0659]: `logger` is ambiguous (name vs any other name during import resolution)
  --> /Users/arve/Projects/prisma/prisma/server/prisma-rs/libs/logger/src/lib.rs:10:9
   |
10 | pub use logger::*;
   |         ^^^^^^ ambiguous name
   |
   = note: `logger` could refer to an extern crate passed with `--extern`
   = help: use `::logger` to refer to this extern crate unambiguously
note: `logger` could also refer to the module defined here
  --> /Users/arve/Projects/prisma/prisma/server/prisma-rs/libs/logger/src/lib.rs:8:1
   |
8  | mod logger;
   | ^^^^^^^^^^^
   = help: use `crate::logger` to refer to this module unambiguously

error: aborting due to previous error

@aknuds1 aknuds1 requested review from mavilein and dpetrick August 22, 2019 16:26
@aknuds1 aknuds1 force-pushed the bugfix/fix-doctest branch from 780f0d3 to cdeaa75 Compare August 23, 2019 09:46
@aknuds1 aknuds1 force-pushed the bugfix/fix-doctest branch from cdeaa75 to 49524f8 Compare August 23, 2019 15:09
@aknuds1 aknuds1 merged commit d6f5cbd into alpha Aug 23, 2019
@aknuds1 aknuds1 deleted the bugfix/fix-doctest branch August 23, 2019 15:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants